diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2012-11-20 22:25:09 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2012-11-29 23:38:55 -0800 |
commit | bdaf232db994e039e47c1eefb27ff197390ce95e (patch) | |
tree | 08c24f9850472803282daf62fd4f3d996a2536a2 /m4 | |
parent | 96269bbd2c9c35940341c978261587bdf3bcda78 (diff) | |
download | gnulib-bdaf232db994e039e47c1eefb27ff197390ce95e.tar.gz |
dup, execute, fatal-signal, etc.: no 'static inline'
* lib/dup.c (dup_nothrow):
* lib/execute.c (nonintr_close, nonintr_open):
* lib/fatal-signal.c (uninstall_handlers, install_handlers):
* lib/fopen.c (orig_fopen):
* lib/freadseek.c (freadptrinc):
* lib/freopen.c (orig_freopen):
* lib/fstat.c (orig_fstat, fstat_nothrow):
* lib/get-rusage-as.c (get_rusage_as_via_setrlimit)
(get_rusage_as_via_iterator):
* lib/get-rusage-data.c (get_rusage_data_via_setrlimit):
* lib/getdtablesize.c (_setmaxstdio_nothrow):
* lib/isatty.c (_isatty_nothrow):
* lib/open.c (orig_open):
* lib/read.c (read_nothrow):
* lib/sigprocmask.c (signal_nothrow):
* lib/spawn-pipe.c (nonintr_close, nonintr_open):
* lib/vasnprintf.c (MAX_ROOM_NEEDED):
* lib/wait-process.c (unregister_slave_subprocess):
* lib/write.c (write_nothrow):
Now static, not static inline.
* lib/spawn-pipe.c (nonintr_open): Define only if
(defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__.
* m4/dup.m4 (gl_PREREQ_DUP):
* m4/execute.m4 (gl_EXECUTE):
* m4/fatal-signal.m4 (gl_FATAL_SIGNAL):
* m4/fopen.m4 (gl_PREREQ_FOPEN):
* m4/freadseek.m4 (gl_FUNC_FREADSEEK):
* m4/freopen.m4 (gl_PREREQ_FREOPEN):
* m4/fstat.m4 (gl_PREREQ_FSTAT):
* m4/getdtablesize.m4 (gl_PREREQ_GETDTABLESIZE):
* m4/isatty.m4 (gl_PREREQ_ISATTY):
* m4/open.m4 (gl_PREREQ_OPEN):
* m4/read.m4 (gl_PREREQ_READ):
* m4/signalblocking.m4 (gl_PREREQ_SIGPROCMASK):
* m4/spawn-pipe.m4 (gl_SPAWN_PIPE):
* m4/vasnprintf.m4 (gl_PREREQ_VASNPRINTF):
* m4/wait-process.m4 (gl_WAIT_PROCESS):
* m4/write.m4 (gl_PREREQ_WRITE):
* modules/get-rusage-as, modules/get-rusage-data (configure.ac):
Do not require AC_C_INLINE.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/dup.m4 | 6 | ||||
-rw-r--r-- | m4/execute.m4 | 3 | ||||
-rw-r--r-- | m4/fatal-signal.m4 | 3 | ||||
-rw-r--r-- | m4/fopen.m4 | 7 | ||||
-rw-r--r-- | m4/freadseek.m4 | 3 | ||||
-rw-r--r-- | m4/freopen.m4 | 7 | ||||
-rw-r--r-- | m4/fstat.m4 | 7 | ||||
-rw-r--r-- | m4/getdtablesize.m4 | 6 | ||||
-rw-r--r-- | m4/isatty.m4 | 6 | ||||
-rw-r--r-- | m4/open.m4 | 3 | ||||
-rw-r--r-- | m4/read.m4 | 7 | ||||
-rw-r--r-- | m4/signalblocking.m4 | 6 | ||||
-rw-r--r-- | m4/spawn-pipe.m4 | 3 | ||||
-rw-r--r-- | m4/vasnprintf.m4 | 3 | ||||
-rw-r--r-- | m4/wait-process.m4 | 3 | ||||
-rw-r--r-- | m4/write.m4 | 7 |
16 files changed, 25 insertions, 55 deletions
@@ -1,4 +1,4 @@ -# dup.m4 serial 2 +# dup.m4 serial 3 dnl Copyright (C) 2011-2012 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -22,6 +22,4 @@ AC_DEFUN([gl_FUNC_DUP], ]) # Prerequisites of lib/dup.c. -AC_DEFUN([gl_PREREQ_DUP], [ - AC_REQUIRE([AC_C_INLINE]) -]) +AC_DEFUN([gl_PREREQ_DUP], [:]) diff --git a/m4/execute.m4 b/m4/execute.m4 index 4bdfdec0d9..8886ee53df 100644 --- a/m4/execute.m4 +++ b/m4/execute.m4 @@ -1,4 +1,4 @@ -# execute.m4 serial 4 +# execute.m4 serial 5 dnl Copyright (C) 2003, 2008-2012 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -7,6 +7,5 @@ dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_EXECUTE], [ dnl Prerequisites of lib/execute.c. - AC_REQUIRE([AC_C_INLINE]) AC_REQUIRE([AC_TYPE_MODE_T]) ]) diff --git a/m4/fatal-signal.m4 b/m4/fatal-signal.m4 index 9ca5aaf46a..d102de7131 100644 --- a/m4/fatal-signal.m4 +++ b/m4/fatal-signal.m4 @@ -1,4 +1,4 @@ -# fatal-signal.m4 serial 8 +# fatal-signal.m4 serial 9 dnl Copyright (C) 2003-2004, 2006, 2008-2012 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -6,7 +6,6 @@ dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FATAL_SIGNAL], [ - AC_REQUIRE([AC_C_INLINE]) AC_REQUIRE([gt_TYPE_SIG_ATOMIC_T]) AC_CHECK_HEADERS_ONCE([unistd.h]) gl_PREREQ_SIG_HANDLER_H diff --git a/m4/fopen.m4 b/m4/fopen.m4 index a1cb1848a1..d56c783b86 100644 --- a/m4/fopen.m4 +++ b/m4/fopen.m4 @@ -1,4 +1,4 @@ -# fopen.m4 serial 8 +# fopen.m4 serial 9 dnl Copyright (C) 2007-2012 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -55,7 +55,4 @@ changequote([,])dnl ]) # Prerequisites of lib/fopen.c. -AC_DEFUN([gl_PREREQ_FOPEN], -[ - AC_REQUIRE([AC_C_INLINE]) -]) +AC_DEFUN([gl_PREREQ_FOPEN], [:]) diff --git a/m4/freadseek.m4 b/m4/freadseek.m4 index 6ab839216f..09f665f496 100644 --- a/m4/freadseek.m4 +++ b/m4/freadseek.m4 @@ -1,4 +1,4 @@ -# freadseek.m4 serial 1 +# freadseek.m4 serial 2 dnl Copyright (C) 2012 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -6,6 +6,5 @@ dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_FREADSEEK], [ - AC_REQUIRE([AC_C_INLINE]) AC_CHECK_FUNCS_ONCE([__freadptrinc]) ]) diff --git a/m4/freopen.m4 b/m4/freopen.m4 index 8b22b8068b..92e44ef7a1 100644 --- a/m4/freopen.m4 +++ b/m4/freopen.m4 @@ -1,4 +1,4 @@ -# freopen.m4 serial 3 +# freopen.m4 serial 4 dnl Copyright (C) 2007-2012 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -16,7 +16,4 @@ AC_DEFUN([gl_FUNC_FREOPEN], ]) # Prerequisites of lib/freopen.c. -AC_DEFUN([gl_PREREQ_FREOPEN], -[ - AC_REQUIRE([AC_C_INLINE]) -]) +AC_DEFUN([gl_PREREQ_FREOPEN], [:]) diff --git a/m4/fstat.m4 b/m4/fstat.m4 index 3ab3297b2c..a73baa278a 100644 --- a/m4/fstat.m4 +++ b/m4/fstat.m4 @@ -1,4 +1,4 @@ -# fstat.m4 serial 3 +# fstat.m4 serial 4 dnl Copyright (C) 2011-2012 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -33,7 +33,4 @@ AC_DEFUN([gl_FUNC_FSTAT], ]) # Prerequisites of lib/fstat.c. -AC_DEFUN([gl_PREREQ_FSTAT], -[ - AC_REQUIRE([AC_C_INLINE]) -]) +AC_DEFUN([gl_PREREQ_FSTAT], [:]) diff --git a/m4/getdtablesize.m4 b/m4/getdtablesize.m4 index 81488ba57c..88a6117e1c 100644 --- a/m4/getdtablesize.m4 +++ b/m4/getdtablesize.m4 @@ -1,4 +1,4 @@ -# getdtablesize.m4 serial 3 +# getdtablesize.m4 serial 4 dnl Copyright (C) 2008-2012 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -14,6 +14,4 @@ AC_DEFUN([gl_FUNC_GETDTABLESIZE], ]) # Prerequisites of lib/getdtablesize.c. -AC_DEFUN([gl_PREREQ_GETDTABLESIZE], [ - AC_REQUIRE([AC_C_INLINE]) -]) +AC_DEFUN([gl_PREREQ_GETDTABLESIZE], [:]) diff --git a/m4/isatty.m4 b/m4/isatty.m4 index 6f81d18e33..9555dad176 100644 --- a/m4/isatty.m4 +++ b/m4/isatty.m4 @@ -1,4 +1,4 @@ -# isatty.m4 serial 2 +# isatty.m4 serial 3 dnl Copyright (C) 2012 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -16,6 +16,4 @@ AC_DEFUN([gl_FUNC_ISATTY], ]) # Prerequisites of lib/isatty.c. -AC_DEFUN([gl_PREREQ_ISATTY], [ - AC_REQUIRE([AC_C_INLINE]) -]) +AC_DEFUN([gl_PREREQ_ISATTY], [:]) diff --git a/m4/open.m4 b/m4/open.m4 index c85971dc1a..2577a22809 100644 --- a/m4/open.m4 +++ b/m4/open.m4 @@ -1,4 +1,4 @@ -# open.m4 serial 13 +# open.m4 serial 14 dnl Copyright (C) 2007-2012 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -86,7 +86,6 @@ changequote([,])dnl # Prerequisites of lib/open.c. AC_DEFUN([gl_PREREQ_OPEN], [ - AC_REQUIRE([AC_C_INLINE]) AC_REQUIRE([gl_PROMOTED_TYPE_MODE_T]) : ]) diff --git a/m4/read.m4 b/m4/read.m4 index 69aeb09637..13cb831ec5 100644 --- a/m4/read.m4 +++ b/m4/read.m4 @@ -1,4 +1,4 @@ -# read.m4 serial 3 +# read.m4 serial 4 dnl Copyright (C) 2011-2012 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -23,7 +23,4 @@ AC_DEFUN([gl_FUNC_READ], ]) # Prerequisites of lib/read.c. -AC_DEFUN([gl_PREREQ_READ], -[ - AC_REQUIRE([AC_C_INLINE]) -]) +AC_DEFUN([gl_PREREQ_READ], [:]) diff --git a/m4/signalblocking.m4 b/m4/signalblocking.m4 index ab8035efb7..d3cbb84265 100644 --- a/m4/signalblocking.m4 +++ b/m4/signalblocking.m4 @@ -1,4 +1,4 @@ -# signalblocking.m4 serial 13 +# signalblocking.m4 serial 14 dnl Copyright (C) 2001-2002, 2006-2012 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -22,6 +22,4 @@ AC_DEFUN([gl_SIGNALBLOCKING], ]) # Prerequisites of lib/sigprocmask.c. -AC_DEFUN([gl_PREREQ_SIGPROCMASK], [ - AC_REQUIRE([AC_C_INLINE]) -]) +AC_DEFUN([gl_PREREQ_SIGPROCMASK], [:]) diff --git a/m4/spawn-pipe.m4 b/m4/spawn-pipe.m4 index 564132a9cb..d598ddd1a2 100644 --- a/m4/spawn-pipe.m4 +++ b/m4/spawn-pipe.m4 @@ -1,4 +1,4 @@ -# spawn-pipe.m4 serial 1 +# spawn-pipe.m4 serial 2 dnl Copyright (C) 2004, 2008-2012 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -7,6 +7,5 @@ dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_SPAWN_PIPE], [ dnl Prerequisites of lib/spawn-pipe.c. - AC_REQUIRE([AC_C_INLINE]) AC_REQUIRE([AC_TYPE_MODE_T]) ]) diff --git a/m4/vasnprintf.m4 b/m4/vasnprintf.m4 index 0ce11da13b..00308c4f54 100644 --- a/m4/vasnprintf.m4 +++ b/m4/vasnprintf.m4 @@ -1,4 +1,4 @@ -# vasnprintf.m4 serial 35 +# vasnprintf.m4 serial 36 dnl Copyright (C) 2002-2004, 2006-2012 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -55,7 +55,6 @@ AC_DEFUN([gl_PREREQ_PRINTF_PARSE], # Prerequisites of lib/vasnprintf.c. AC_DEFUN_ONCE([gl_PREREQ_VASNPRINTF], [ - AC_REQUIRE([AC_C_INLINE]) AC_REQUIRE([AC_FUNC_ALLOCA]) AC_REQUIRE([AC_TYPE_LONG_LONG_INT]) AC_REQUIRE([gt_TYPE_WCHAR_T]) diff --git a/m4/wait-process.m4 b/m4/wait-process.m4 index 86c817c87f..24524b0ec7 100644 --- a/m4/wait-process.m4 +++ b/m4/wait-process.m4 @@ -1,4 +1,4 @@ -# wait-process.m4 serial 5 +# wait-process.m4 serial 6 dnl Copyright (C) 2003, 2008-2012 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -7,7 +7,6 @@ dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_WAIT_PROCESS], [ dnl Prerequisites of lib/wait-process.c. - AC_REQUIRE([AC_C_INLINE]) AC_REQUIRE([gt_TYPE_SIG_ATOMIC_T]) AC_CHECK_FUNCS([waitid]) ]) diff --git a/m4/write.m4 b/m4/write.m4 index a6b122982e..4d05d7af89 100644 --- a/m4/write.m4 +++ b/m4/write.m4 @@ -1,4 +1,4 @@ -# write.m4 serial 4 +# write.m4 serial 5 dnl Copyright (C) 2008-2012 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -29,7 +29,4 @@ AC_DEFUN([gl_FUNC_WRITE], ]) # Prerequisites of lib/write.c. -AC_DEFUN([gl_PREREQ_WRITE], -[ - AC_REQUIRE([AC_C_INLINE]) -]) +AC_DEFUN([gl_PREREQ_WRITE], [:]) |