Mercurial > hg > octave-kai > gnulib-hg
view lib/file-set.h @ 17101:99fa3b05f1c8
pipe-filter-gi, pipe-filter-ii: better use of 'inline'
* lib/pipe-filter-aux.c: New file.
* lib/pipe-filter-aux.h (PIPE_FILTER_AUX_INLINE): New macro.
Replace all uses of 'static inline' with it.
Use _GL_INLINE_HEADER_BEGIN, _GL_INLINE_HEADER_END.
* lib/pipe-filter-gi.c (filter_init, filter_cleanup)
(filter_retcode): No real need for inline here.
* modules/pipe-filter-gi, modules/pipe-filter-ii:
(Files): Add lib/pipe-filter-aux.c.
(Depends-on): Add extern-inline.
(configure.ac): Do not require AC_C_INLINE.
(lib_SOURCES): Add pipe-filter-aux.c.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Wed, 29 Aug 2012 22:17:49 -0700 (2012-08-30) |
parents | 3cbb6286362c |
children |
line wrap: on
line source
#include <sys/types.h> #include <sys/stat.h> #include <stdbool.h> #include "hash.h" extern void record_file (Hash_table *ht, char const *file, struct stat const *stats) #if defined __GNUC__ && ((__GNUC__ == 3 && __GNUC_MINOR__ >= 3) || __GNUC__ > 3) __attribute__ ((nonnull (2, 3))) #endif ; extern bool seen_file (Hash_table const *ht, char const *file, struct stat const *stats);