Mercurial > hg > octave-lojdl > gnulib-hg
changeset 17186:84256646069c
error, filevercmp: no 'static inline'
* lib/error.c (is_open, flush_stdout):
* lib/filevercmp.c (order):
Now static, not static inline.
* m4/error.m4 (gl_PREREQ_ERROR):
* modules/filevercmp (configure.ac):
Do not require AC_C_INLINE.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Tue, 20 Nov 2012 22:25:09 -0800 |
parents | dd46d4e6beea |
children | 4cd6b652c293 |
files | ChangeLog lib/error.c lib/filevercmp.c m4/error.m4 modules/filevercmp |
diffstat | 5 files changed, 11 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,13 @@ 2012-11-29 Paul Eggert <eggert@cs.ucla.edu> + error, filevercmp: no 'static inline' + * lib/error.c (is_open, flush_stdout): + * lib/filevercmp.c (order): + Now static, not static inline. + * m4/error.m4 (gl_PREREQ_ERROR): + * modules/filevercmp (configure.ac): + Do not require AC_C_INLINE. + dup, execute, fatal-signal, etc.: no 'static inline' * lib/dup.c (dup_nothrow): * lib/execute.c (nonintr_close, nonintr_open):
--- a/lib/error.c +++ b/lib/error.c @@ -121,7 +121,7 @@ #if !_LIBC /* Return non-zero if FD is open. */ -static inline int +static int is_open (int fd) { # if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ @@ -139,7 +139,7 @@ } #endif -static inline void +static void flush_stdout (void) { #if !_LIBC
--- a/lib/filevercmp.c +++ b/lib/filevercmp.c @@ -57,7 +57,7 @@ } /* verrevcmp helper function */ -static inline int +static int order (unsigned char c) { if (c_isdigit (c))