diff options
author | Eric Blake <eblake@redhat.com> | 2010-03-25 16:28:02 -0600 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2010-03-25 16:48:19 -0600 |
commit | 40aa4775a4319d3a3e5a571e6c28feb1d8566adc (patch) | |
tree | bfc17b9b126bb5337069271bf2d51b1bccd905ae /lib/sys_times.in.h | |
parent | 1f87c50a60309f7ae9aafbc7d614f2760f7ded99 (diff) | |
download | gnulib-40aa4775a4319d3a3e5a571e6c28feb1d8566adc.tar.gz |
maint: use pragma consistently across replacement headers
Several headers set #pragma GCC system_header prior to checking
any multiple inclusion guards; maintenance is easiest if all
replacement headers follow the same paradigm.
* lib/ctype.in.h (system_header): Hoist for consistent placement.
* lib/dirent.in.h (system_header): Likewise.
* lib/errno.in.h (system_header): Likewise.
* lib/float.in.h (system_header): Likewise.
* lib/getopt.in.h (system_header): Likewise.
* lib/iconv.in.h (system_header): Likewise.
* lib/inttypes.in.h (system_header): Likewise.
* lib/langinfo.in.h (system_header): Likewise.
* lib/locale.in.h (system_header): Likewise.
* lib/math.in.h (system_header): Likewise.
* lib/netdb.in.h (system_header): Likewise.
* lib/netinet_in.in.h (system_header): Likewise.
* lib/pty.in.h (system_header): Likewise.
* lib/sched.in.h (system_header): Likewise.
* lib/se-selinux.in.h (system_header): Likewise.
* lib/search.in.h (system_header): Likewise.
* lib/spawn.in.h (system_header): Likewise.
* lib/stdarg.in.h (system_header): Likewise.
* lib/stdint.in.h (system_header): Likewise.
* lib/string.in.h (system_header): Likewise.
* lib/strings.in.h (system_header): Likewise.
* lib/sys_file.in.h (system_header): Likewise.
* lib/sys_ioctl.in.h (system_header): Likewise.
* lib/sys_socket.in.h (system_header): Likewise.
* lib/sys_times.in.h (system_header): Likewise.
* lib/sys_utsname.in.h (system_header): Likewise.
* lib/sys_wait.in.h (system_header): Likewise.
* lib/sysexits.in.h (system_header): Likewise.
* lib/unistd.in.h (system_header): Likewise.
* lib/wctype.in.h (system_header): Likewise.
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'lib/sys_times.in.h')
-rw-r--r-- | lib/sys_times.in.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sys_times.in.h b/lib/sys_times.in.h index 57f3a7209d..1b66bbdf98 100644 --- a/lib/sys_times.in.h +++ b/lib/sys_times.in.h @@ -20,12 +20,12 @@ /* This file is supposed to be used on platforms where <sys/times.h> is missing. */ -#ifndef _GL_SYS_TIMES_H - # if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ # endif +#ifndef _GL_SYS_TIMES_H + # if @HAVE_SYS_TIMES_H@ # @INCLUDE_NEXT@ @NEXT_SYS_TIMES_H@ # endif |