Date: Sun, 02 Feb 2003 15:12:50 +0000 From: "Richard Dawe" Sender: rich AT phekda DOT freeserve DOT co DOT uk To: djgpp-workers AT delorie DOT com X-Mailer: Emacs 21.3.50 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6 Subject: Add C99-specific sections to most headers [PATCH] Message-Id: Reply-To: djgpp-workers AT delorie DOT com Hello. Below is a patch to add C99-specific sections to most headers. These are the headers that don't need anything to be moved around in them for C99. OK to commit? Bye, Rich =] Index: include/debug/dbgcom.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/debug/dbgcom.h,v retrieving revision 1.6 diff -p -c -3 -r1.6 dbgcom.h *** include/debug/dbgcom.h 3 Jun 1999 17:22:28 -0000 1.6 --- include/debug/dbgcom.h 2 Feb 2003 15:03:54 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1999 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1996 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ *************** extern "C" { *** 9,14 **** --- 10,20 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/debug/redir.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/debug/redir.h,v retrieving revision 1.1 diff -p -c -3 -r1.1 redir.h *** include/debug/redir.h 30 May 1999 10:54:44 -0000 1.1 --- include/debug/redir.h 2 Feb 2003 15:03:54 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1999 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_debug_redir_h_ #define __dj_include_debug_redir_h_ *************** extern "C" { *** 7,12 **** --- 8,18 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/debug/stab.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/debug/stab.h,v retrieving revision 1.3 diff -p -c -3 -r1.3 stab.h *** include/debug/stab.h 17 Oct 2002 23:00:24 -0000 1.3 --- include/debug/stab.h 2 Feb 2003 15:03:57 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2002 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_debug_stab_h_ *************** extern "C" { *** 8,13 **** --- 9,19 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/debug/syms.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/debug/syms.h,v retrieving revision 1.3 diff -p -c -3 -r1.3 syms.h *** include/debug/syms.h 17 Oct 2002 23:00:24 -0000 1.3 --- include/debug/syms.h 2 Feb 2003 15:03:57 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2002 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_debug_syms_h_ *************** extern "C" { *** 8,13 **** --- 9,19 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/debug/tss.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/debug/tss.h,v retrieving revision 1.1 diff -p -c -3 -r1.1 tss.h *** include/debug/tss.h 29 Apr 1995 01:32:12 -0000 1.1 --- include/debug/tss.h 2 Feb 2003 15:04:02 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_debug_tss_h_ #define __dj_include_debug_tss_h_ *************** extern "C" { *** 7,12 **** --- 8,18 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/debug/v2load.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/debug/v2load.h,v retrieving revision 1.1 diff -p -c -3 -r1.1 v2load.h *** include/debug/v2load.h 29 Apr 1995 01:32:04 -0000 1.1 --- include/debug/v2load.h 2 Feb 2003 15:04:02 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_debug_v2load_h_ #define __dj_include_debug_v2load_h_ *************** extern "C" { *** 7,12 **** --- 8,18 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/debug/wild.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/debug/wild.h,v retrieving revision 1.1 diff -p -c -3 -r1.1 wild.h *** include/debug/wild.h 29 Apr 1995 01:31:56 -0000 1.1 --- include/debug/wild.h 2 Feb 2003 15:04:07 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_debug_wild_h_ #define __dj_include_debug_wild_h_ *************** extern "C" { *** 7,12 **** --- 8,18 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/bios.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/bios.h,v retrieving revision 1.2 diff -p -c -3 -r1.2 bios.h *** include/bios.h 23 Jan 1996 22:26:14 -0000 1.2 --- include/bios.h 2 Feb 2003 15:04:07 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1996 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_bios_h_ *************** extern "C" { *** 8,13 **** --- 9,19 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/coff.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/coff.h,v retrieving revision 1.1 diff -p -c -3 -r1.1 coff.h *** include/coff.h 7 Aug 1995 06:22:12 -0000 1.1 --- include/coff.h 2 Feb 2003 15:04:14 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_coff_h_ #define __dj_include_coff_h_ *************** extern "C" { *** 7,12 **** --- 8,18 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/conio.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/conio.h,v retrieving revision 1.5 diff -p -c -3 -r1.5 conio.h *** include/conio.h 17 Jul 2001 00:39:14 -0000 1.5 --- include/conio.h 2 Feb 2003 15:04:14 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2001 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1998 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ *************** extern "C" { *** 9,14 **** --- 10,20 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/crt0.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/crt0.h,v retrieving revision 1.4 diff -p -c -3 -r1.4 crt0.h *** include/crt0.h 14 Aug 2001 03:51:39 -0000 1.4 --- include/crt0.h 2 Feb 2003 15:04:18 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2001 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1998 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1996 DJ Delorie, see COPYING.DJ for details */ *************** extern "C" { *** 10,15 **** --- 11,21 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/dir.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/dir.h,v retrieving revision 1.3 diff -p -c -3 -r1.3 dir.h *** include/dir.h 28 Jun 1998 23:37:14 -0000 1.3 --- include/dir.h 2 Feb 2003 15:04:19 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1998 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_dir_h_ *************** extern "C" { *** 8,13 **** --- 9,19 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/direct.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/direct.h,v retrieving revision 1.1 diff -p -c -3 -r1.1 direct.h *** include/direct.h 10 May 1995 06:32:54 -0000 1.1 --- include/direct.h 2 Feb 2003 15:04:21 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_direct_h_ #define __dj_include_direct_h_ *************** extern "C" { *** 7,12 **** --- 8,18 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/dirent.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/dirent.h,v retrieving revision 1.3 diff -p -c -3 -r1.3 dirent.h *** include/dirent.h 1 Jun 2001 14:49:21 -0000 1.3 --- include/dirent.h 2 Feb 2003 15:04:22 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2001 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1998 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ *************** extern "C" { *** 9,14 **** --- 10,20 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ #include Index: include/dos.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/dos.h,v retrieving revision 1.11 diff -p -c -3 -r1.11 dos.h *** include/dos.h 25 Nov 2001 17:54:52 -0000 1.11 --- include/dos.h 2 Feb 2003 15:04:26 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2001 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1999 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1998 DJ Delorie, see COPYING.DJ for details */ *************** *** 8,13 **** --- 9,19 ---- #ifndef __dj_ENFORCE_ANSI_FREESTANDING #ifndef __STRICT_ANSI__ + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef _POSIX_SOURCE Index: include/dpmi.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/dpmi.h,v retrieving revision 1.4 diff -p -c -3 -r1.4 dpmi.h *** include/dpmi.h 10 Jan 2003 10:09:02 -0000 1.4 --- include/dpmi.h 2 Feb 2003 15:04:27 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1999 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_dpmi_h_ *************** extern "C" { *** 8,13 **** --- 9,19 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/process.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/process.h,v retrieving revision 1.5 diff -p -c -3 -r1.5 process.h *** include/process.h 17 Oct 2002 23:00:24 -0000 1.5 --- include/process.h 2 Feb 2003 15:04:34 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2001 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2000 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ *************** extern "C" { *** 9,14 **** --- 10,20 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/fcntl.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/fcntl.h,v retrieving revision 1.7 diff -p -c -3 -r1.7 fcntl.h *** include/fcntl.h 17 Oct 2001 04:00:19 -0000 1.7 --- include/fcntl.h 2 Feb 2003 15:04:34 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2001 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1998 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ *************** extern "C" { *** 9,14 **** --- 10,20 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/file.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/file.h,v retrieving revision 1.1 diff -p -c -3 -r1.1 file.h *** include/file.h 10 May 1995 06:33:44 -0000 1.1 --- include/file.h 2 Feb 2003 15:04:37 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_file_h_ #define __dj_include_file_h_ *************** extern "C" { *** 7,12 **** --- 8,18 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/fnmatch.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/fnmatch.h,v retrieving revision 1.3 diff -p -c -3 -r1.3 fnmatch.h *** include/fnmatch.h 3 Jun 1999 17:22:28 -0000 1.3 --- include/fnmatch.h 2 Feb 2003 15:04:37 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1999 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_fnmatch_h_ *************** extern "C" { *** 8,13 **** --- 9,19 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/ftw.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/ftw.h,v retrieving revision 1.1 diff -p -c -3 -r1.1 ftw.h *** include/ftw.h 3 Jun 1995 23:58:16 -0000 1.1 --- include/ftw.h 2 Feb 2003 15:04:43 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_ftw_h_ #define __dj_include_ftw_h_ *************** extern "C" { *** 7,12 **** --- 8,18 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/getpagesize.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/getpagesize.h,v retrieving revision 1.1 diff -p -c -3 -r1.1 getpagesize.h *** include/getpagesize.h 10 May 1995 03:34:10 -0000 1.1 --- include/getpagesize.h 2 Feb 2003 15:04:43 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_getpagesize_h_ #define __dj_include_getpagesize_h_ *************** extern "C" { *** 7,12 **** --- 8,18 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/glob.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/glob.h,v retrieving revision 1.3 diff -p -c -3 -r1.3 glob.h *** include/glob.h 17 Oct 2002 23:00:24 -0000 1.3 --- include/glob.h 2 Feb 2003 15:04:46 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2000 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_glob_h_ *************** extern "C" { *** 8,13 **** --- 9,19 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/gppconio.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/gppconio.h,v retrieving revision 1.1 diff -p -c -3 -r1.1 gppconio.h *** include/gppconio.h 10 May 1995 06:38:12 -0000 1.1 --- include/gppconio.h 2 Feb 2003 15:04:46 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_gppconio_h_ #define __dj_include_gppconio_h_ *************** extern "C" { *** 7,12 **** --- 8,18 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/go32.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/go32.h,v retrieving revision 1.4 diff -p -c -3 -r1.4 go32.h *** include/go32.h 17 Oct 2002 23:00:24 -0000 1.4 --- include/go32.h 2 Feb 2003 15:04:48 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2000 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1998 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ *************** extern "C" { *** 9,14 **** --- 10,20 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/io.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/io.h,v retrieving revision 1.5 diff -p -c -3 -r1.5 io.h *** include/io.h 1 Feb 2001 19:39:55 -0000 1.5 --- include/io.h 2 Feb 2003 15:04:49 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2001 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1998 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ *************** extern "C" { *** 9,14 **** --- 10,20 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/keys.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/keys.h,v retrieving revision 1.3 diff -p -c -3 -r1.3 keys.h *** include/keys.h 12 Aug 1996 22:58:02 -0000 1.3 --- include/keys.h 2 Feb 2003 15:04:52 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1996 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_keys_h_ *************** extern "C" { *** 8,13 **** --- 9,19 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/grp.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/grp.h,v retrieving revision 1.4 diff -p -c -3 -r1.4 grp.h *** include/grp.h 17 Oct 2002 23:00:24 -0000 1.4 --- include/grp.h 2 Feb 2003 15:04:52 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2001 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2000 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ *************** extern "C" { *** 9,14 **** --- 10,20 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/limits.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/limits.h,v retrieving revision 1.5 diff -p -c -3 -r1.5 limits.h *** include/limits.h 17 Oct 2002 23:00:24 -0000 1.5 --- include/limits.h 2 Feb 2003 15:04:55 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2001 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1998 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ *************** extern "C" { *** 40,45 **** --- 41,51 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/malloc.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/malloc.h,v retrieving revision 1.1 diff -p -c -3 -r1.1 malloc.h *** include/malloc.h 10 May 1995 06:34:36 -0000 1.1 --- include/malloc.h 2 Feb 2003 15:04:55 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2002 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_malloc_h_ #define __dj_include_malloc_h_ *************** extern "C" { *** 7,12 **** --- 8,18 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/memory.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/memory.h,v retrieving revision 1.1 diff -p -c -3 -r1.1 memory.h *** include/memory.h 10 May 1995 06:34:58 -0000 1.1 --- include/memory.h 2 Feb 2003 15:04:58 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_memory_h_ #define __dj_include_memory_h_ *************** extern "C" { *** 7,12 **** --- 8,18 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/mntent.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/mntent.h,v retrieving revision 1.3 diff -p -c -3 -r1.3 mntent.h *** include/mntent.h 13 Aug 1996 00:01:24 -0000 1.3 --- include/mntent.h 2 Feb 2003 15:05:01 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1996 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_mntent_h_ *************** extern "C" { *** 8,13 **** --- 9,19 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/osfcn.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/osfcn.h,v retrieving revision 1.1 diff -p -c -3 -r1.1 osfcn.h *** include/osfcn.h 10 May 1995 06:35:16 -0000 1.1 --- include/osfcn.h 2 Feb 2003 15:05:01 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_osfcn_h_ #define __dj_include_osfcn_h_ *************** extern "C" { *** 7,12 **** --- 8,18 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/locale.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/locale.h,v retrieving revision 1.5 diff -p -c -3 -r1.5 locale.h *** include/locale.h 28 Nov 2002 09:06:29 -0000 1.5 --- include/locale.h 2 Feb 2003 15:05:04 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2002 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2001 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1997 DJ Delorie, see COPYING.DJ for details */ *************** struct lconv { *** 49,54 **** --- 50,60 ---- struct lconv * localeconv(void); char * setlocale(int _category, const char *_locale); + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/pc.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/pc.h,v retrieving revision 1.7 diff -p -c -3 -r1.7 pc.h *** include/pc.h 17 Oct 2002 23:00:24 -0000 1.7 --- include/pc.h 2 Feb 2003 15:05:04 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2001 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1999 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1998 DJ Delorie, see COPYING.DJ for details */ *************** extern "C" { *** 10,15 **** --- 11,21 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/random.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/random.h,v retrieving revision 1.1 diff -p -c -3 -r1.1 random.h *** include/random.h 10 May 1995 06:35:36 -0000 1.1 --- include/random.h 2 Feb 2003 15:05:07 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_random_h_ #define __dj_include_random_h_ *************** extern "C" { *** 7,12 **** --- 8,18 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/regex.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/regex.h,v retrieving revision 1.2 diff -p -c -3 -r1.2 regex.h *** include/regex.h 26 Jul 1998 13:29:54 -0000 1.2 --- include/regex.h 2 Feb 2003 15:05:07 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1998 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_regex_h_ *************** extern "C" { *** 8,13 **** --- 9,19 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/search.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/search.h,v retrieving revision 1.3 diff -p -c -3 -r1.3 search.h *** include/search.h 14 Dec 1999 11:57:43 -0000 1.3 --- include/search.h 2 Feb 2003 15:05:10 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1999 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_search_h_ *************** extern "C" { *** 8,13 **** --- 9,19 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/pwd.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/pwd.h,v retrieving revision 1.4 diff -p -c -3 -r1.4 pwd.h *** include/pwd.h 17 Oct 2002 23:00:24 -0000 1.4 --- include/pwd.h 2 Feb 2003 15:05:10 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2001 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2000 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ *************** extern "C" { *** 9,14 **** --- 10,20 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/setjmp.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/setjmp.h,v retrieving revision 1.5 diff -p -c -3 -r1.5 setjmp.h *** include/setjmp.h 17 Oct 2002 23:00:24 -0000 1.5 --- include/setjmp.h 2 Feb 2003 15:05:13 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2001 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1999 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ *************** typedef struct __jmp_buf { *** 24,29 **** --- 25,35 ---- void longjmp(jmp_buf env, int val); int setjmp(jmp_buf env); #define setjmp setjmp /* required by C++ standard */ + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/std.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/std.h,v retrieving revision 1.1 diff -p -c -3 -r1.1 std.h *** include/std.h 10 May 1995 06:38:04 -0000 1.1 --- include/std.h 2 Feb 2003 15:05:13 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_std_h_ #define __dj_include_std_h_ *************** extern "C" { *** 7,12 **** --- 8,18 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/signal.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/signal.h,v retrieving revision 1.5 diff -p -c -3 -r1.5 signal.h *** include/signal.h 17 Oct 2002 23:00:24 -0000 1.5 --- include/signal.h 2 Feb 2003 15:05:16 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2000 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1998 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ *************** typedef int sig_atomic_t; *** 34,39 **** --- 35,45 ---- int raise(int _sig); void (*signal(int _sig, void (*_func)(int)))(int); + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/string.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/string.h,v retrieving revision 1.6 diff -p -c -3 -r1.6 string.h *** include/string.h 19 Jan 2003 13:03:55 -0000 1.6 --- include/string.h 2 Feb 2003 15:05:16 -0000 *************** char * strstr(const char *_s1, const cha *** 47,52 **** --- 47,57 ---- char * strtok(char *_s1, const char *_s2); size_t strxfrm(char *_s1, const char *_s2, size_t _n); + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ + #ifndef __STRICT_ANSI__ #ifndef _POSIX_SOURCE Index: include/strings.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/strings.h,v retrieving revision 1.1 diff -p -c -3 -r1.1 strings.h *** include/strings.h 10 May 1995 06:36:10 -0000 1.1 --- include/strings.h 2 Feb 2003 15:05:19 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_strings_h_ #define __dj_include_strings_h_ *************** extern "C" { *** 7,12 **** --- 8,18 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/termios.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/termios.h,v retrieving revision 1.3 diff -p -c -3 -r1.3 termios.h *** include/termios.h 15 Sep 1996 16:55:54 -0000 1.3 --- include/termios.h 2 Feb 2003 15:05:19 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1996 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_sys_termios_h_ *************** extern "C" { *** 8,13 **** --- 9,19 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/tzfile.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/tzfile.h,v retrieving revision 1.1 diff -p -c -3 -r1.1 tzfile.h *** include/tzfile.h 4 Jun 1995 07:10:46 -0000 1.1 --- include/tzfile.h 2 Feb 2003 15:05:22 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_tzfile_h__ #define __dj_include_tzfile_h__ *************** extern "C" { *** 7,12 **** --- 8,18 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/time.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/time.h,v retrieving revision 1.6 diff -p -c -3 -r1.6 time.h *** include/time.h 17 Oct 2002 23:00:24 -0000 1.6 --- include/time.h 2 Feb 2003 15:05:23 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2000 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1999 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1998 DJ Delorie, see COPYING.DJ for details */ *************** struct tm * localtime(const time_t *_tod *** 58,63 **** --- 59,69 ---- time_t mktime(struct tm *_tptr); size_t strftime(char *_s, size_t _n, const char *_format, const struct tm *_tptr); time_t time(time_t *_tod); + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/unistd.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/unistd.h,v retrieving revision 1.15 diff -p -c -3 -r1.15 unistd.h *** include/unistd.h 17 Oct 2002 23:00:24 -0000 1.15 --- include/unistd.h 2 Feb 2003 15:05:26 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2002 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2001 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2000 DJ Delorie, see COPYING.DJ for details */ *************** extern "C" { *** 12,17 **** --- 13,23 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/values.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/values.h,v retrieving revision 1.1 diff -p -c -3 -r1.1 values.h *** include/values.h 4 Jun 1995 07:09:16 -0000 1.1 --- include/values.h 2 Feb 2003 15:05:26 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_values_h_ #define __dj_include_values_h_ *************** extern "C" { *** 7,12 **** --- 8,18 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/varargs.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/varargs.h,v retrieving revision 1.6 diff -p -c -3 -r1.6 varargs.h *** include/varargs.h 2 Jan 2001 17:08:26 -0000 1.6 --- include/varargs.h 2 Feb 2003 15:05:29 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2001 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2000 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ *************** __DJ_va_list *** 51,56 **** --- 52,62 ---- #define va_start(ap) (ap=(char *)(&__dj_last_arg)) #endif /* #if ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 96)) || (__GNUC__ >= 3) */ + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/wchar.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/wchar.h,v retrieving revision 1.5 diff -p -c -3 -r1.5 wchar.h *** include/wchar.h 31 Jan 2001 08:07:43 -0000 1.5 --- include/wchar.h 2 Feb 2003 15:05:29 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2001 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1999 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1998 DJ Delorie, see COPYING.DJ for details */ *************** typedef struct *** 28,33 **** --- 29,39 ---- { int shift_state; } mbstate_t; + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/utime.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/utime.h,v retrieving revision 1.3 diff -p -c -3 -r1.3 utime.h *** include/utime.h 17 Oct 2002 23:00:24 -0000 1.3 --- include/utime.h 2 Feb 2003 15:05:32 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2000 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_utime_h_ *************** extern "C" { *** 8,13 **** --- 9,19 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/libc/atexit.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/libc/atexit.h,v retrieving revision 1.2 diff -p -c -3 -r1.2 atexit.h *** include/libc/atexit.h 12 Jul 1998 16:52:58 -0000 1.2 --- include/libc/atexit.h 2 Feb 2003 15:05:32 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1998 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_libc_atexit_h__ *************** extern "C" { *** 8,13 **** --- 9,19 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/libc/bss.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/libc/bss.h,v retrieving revision 1.2 diff -p -c -3 -r1.2 bss.h *** include/libc/bss.h 1 Jan 1996 11:38:08 -0000 1.2 --- include/libc/bss.h 2 Feb 2003 15:05:35 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1996 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_bss_h_ *************** extern "C" { *** 8,13 **** --- 9,19 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/libc/dosexec.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/libc/dosexec.h,v retrieving revision 1.1 diff -p -c -3 -r1.1 dosexec.h *** include/libc/dosexec.h 29 Apr 1995 01:01:36 -0000 1.1 --- include/libc/dosexec.h 2 Feb 2003 15:05:35 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_libc_dosexec_h__ #define __dj_include_libc_dosexec_h__ *************** extern "C" { *** 7,12 **** --- 8,18 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/libc/dosio.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/libc/dosio.h,v retrieving revision 1.7 diff -p -c -3 -r1.7 dosio.h *** include/libc/dosio.h 17 Oct 2002 23:00:24 -0000 1.7 --- include/libc/dosio.h 2 Feb 2003 15:05:37 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2001 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1999 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1996 DJ Delorie, see COPYING.DJ for details */ *************** extern "C" { *** 10,15 **** --- 11,21 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/libc/environ.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/libc/environ.h,v retrieving revision 1.1 diff -p -c -3 -r1.1 environ.h *** include/libc/environ.h 31 Aug 1996 21:09:34 -0000 1.1 --- include/libc/environ.h 2 Feb 2003 15:05:37 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1996 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_libc_environ_h_ #define __dj_include_libc_environ_h_ *************** extern "C" { *** 7,12 **** --- 8,18 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/libc/farptrgs.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/libc/farptrgs.h,v retrieving revision 1.2 diff -p -c -3 -r1.2 farptrgs.h *** include/libc/farptrgs.h 7 Sep 1997 22:08:30 -0000 1.2 --- include/libc/farptrgs.h 2 Feb 2003 15:05:42 -0000 *************** *** 1,5 **** --- 1,6 ---- /* special version for libc - uses %gs instead of %fs. Ignore comments */ + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ /* Copyright (c) 1995 DJ Delorie. Permission granted to use for any purpose, provided this copyright remains attached and unmodified. *************** extern "C" { *** 59,64 **** --- 60,70 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/libc/fd_props.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/libc/fd_props.h,v retrieving revision 1.7 diff -p -c -3 -r1.7 fd_props.h *** include/libc/fd_props.h 1 Dec 2001 20:17:43 -0000 1.7 --- include/libc/fd_props.h 2 Feb 2003 15:05:42 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2001 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_libc_fdprops_h__ #define __dj_include_libc_fdprops_h__ *************** extern "C" { *** 9,14 **** --- 10,20 ---- #ifndef __dj_ENFORCE_ANSI_FREESTANDING #include + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/libc/file.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/libc/file.h,v retrieving revision 1.10 diff -p -c -3 -r1.10 file.h *** include/libc/file.h 17 Oct 2002 23:00:24 -0000 1.10 --- include/libc/file.h 2 Feb 2003 15:05:45 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2001 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1999 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1997 DJ Delorie, see COPYING.DJ for details */ *************** extern "C" { *** 14,19 **** --- 15,25 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/libc/fsexthlp.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/libc/fsexthlp.h,v retrieving revision 1.1 diff -p -c -3 -r1.1 fsexthlp.h *** include/libc/fsexthlp.h 14 Jun 2002 14:27:13 -0000 1.1 --- include/libc/fsexthlp.h 2 Feb 2003 15:05:45 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2002 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_libc_fsexthlp_h__ #define __dj_include_libc_fsexthlp_h__ *************** extern "C" { *** 10,15 **** --- 11,21 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/libc/getdinfo.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/libc/getdinfo.h,v retrieving revision 1.3 diff -p -c -3 -r1.3 getdinfo.h *** include/libc/getdinfo.h 14 Dec 2002 12:40:04 -0000 1.3 --- include/libc/getdinfo.h 2 Feb 2003 15:05:48 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2002 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2001 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2000 DJ Delorie, see COPYING.DJ for details */ *************** *** 5,10 **** --- 6,16 ---- #define __dj_include_libc_getdinfo_h__ #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/libc/ieee.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/libc/ieee.h,v retrieving revision 1.1 diff -p -c -3 -r1.1 ieee.h *** include/libc/ieee.h 29 Apr 1995 01:01:28 -0000 1.1 --- include/libc/ieee.h 2 Feb 2003 15:05:48 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_libc_ieee_h__ #define __dj_include_libc_ieee_h__ *************** extern "C" { *** 7,12 **** --- 8,18 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/libc/internal.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/libc/internal.h,v retrieving revision 1.1 diff -p -c -3 -r1.1 internal.h *** include/libc/internal.h 8 May 1995 01:08:50 -0000 1.1 --- include/libc/internal.h 2 Feb 2003 15:05:55 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_libc_internal_h__ #define __dj_include_libc_internal_h__ *************** extern "C" { *** 7,12 **** --- 8,18 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/libc/local.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/libc/local.h,v retrieving revision 1.1 diff -p -c -3 -r1.1 local.h *** include/libc/local.h 29 Apr 1995 01:01:22 -0000 1.1 --- include/libc/local.h 2 Feb 2003 15:05:55 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_libc_local_h__ #define __dj_include_libc_local_h__ *************** extern "C" { *** 7,12 **** --- 8,18 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/libc/malloc.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/libc/malloc.h,v retrieving revision 1.2 diff -p -c -3 -r1.2 malloc.h *** include/libc/malloc.h 8 Jun 2001 09:59:33 -0000 1.2 --- include/libc/malloc.h 2 Feb 2003 15:05:58 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2001 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_libc_malloc_h__ #define __dj_include_libc_malloc_h__ *************** extern "C" { *** 7,12 **** --- 8,18 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/libc/stdiohk.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/libc/stdiohk.h,v retrieving revision 1.1 diff -p -c -3 -r1.1 stdiohk.h *** include/libc/stdiohk.h 29 Apr 1995 01:01:20 -0000 1.1 --- include/libc/stdiohk.h 2 Feb 2003 15:05:58 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_libc_stdiohk_h__ #define __dj_include_libc_stdiohk_h__ *************** extern "C" { *** 7,12 **** --- 8,18 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/libc/symlink.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/libc/symlink.h,v retrieving revision 1.5 diff -p -c -3 -r1.5 symlink.h *** include/libc/symlink.h 1 Jun 2001 14:50:52 -0000 1.5 --- include/libc/symlink.h 2 Feb 2003 15:06:01 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2001 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2000 DJ Delorie, see COPYING.DJ for details */ *************** extern "C" { *** 13,18 **** --- 14,24 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/libc/ttyprvt.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/libc/ttyprvt.h,v retrieving revision 1.8 diff -p -c -3 -r1.8 ttyprvt.h *** include/libc/ttyprvt.h 16 Aug 2001 16:36:40 -0000 1.8 --- include/libc/ttyprvt.h 2 Feb 2003 15:06:01 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2001 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1998 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_libc_ttyprvt_h__ *************** extern "C" { *** 8,13 **** --- 9,19 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/libc/unconst.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/libc/unconst.h,v retrieving revision 1.1 diff -p -c -3 -r1.1 unconst.h *** include/libc/unconst.h 29 Apr 1995 01:00:54 -0000 1.1 --- include/libc/unconst.h 2 Feb 2003 15:06:04 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_libc_unconst_h__ #define __dj_include_libc_unconst_h__ *************** extern "C" { *** 7,12 **** --- 8,18 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/netinet/in.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/netinet/in.h,v retrieving revision 1.2 diff -p -c -3 -r1.2 in.h *** include/netinet/in.h 12 Jul 1998 16:53:20 -0000 1.2 --- include/netinet/in.h 2 Feb 2003 15:06:04 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1998 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_netinet_in_h_ *************** extern "C" { *** 8,13 **** --- 9,19 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/sys/dir.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/sys/dir.h,v retrieving revision 1.1 diff -p -c -3 -r1.1 dir.h *** include/sys/dir.h 10 May 1995 06:33:18 -0000 1.1 --- include/sys/dir.h 2 Feb 2003 15:06:07 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_sys_dir_h_ #define __dj_include_sys_dir_h_ *************** extern "C" { *** 7,12 **** --- 8,18 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/sys/farptr.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/sys/farptr.h,v retrieving revision 1.2 diff -p -c -3 -r1.2 farptr.h *** include/sys/farptr.h 12 Aug 1996 22:38:02 -0000 1.2 --- include/sys/farptr.h 2 Feb 2003 15:06:10 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ /* Copyright (c) 1995 DJ Delorie. Permission granted to use for any purpose, provided this copyright remains attached and unmodified. *************** extern "C" { *** 57,62 **** --- 58,68 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/sys/fcntl.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/sys/fcntl.h,v retrieving revision 1.1 diff -p -c -3 -r1.1 fcntl.h *** include/sys/fcntl.h 10 May 1995 06:33:02 -0000 1.1 --- include/sys/fcntl.h 2 Feb 2003 15:06:13 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_sys_fcntl_h_ #define __dj_include_sys_fcntl_h_ *************** extern "C" { *** 7,12 **** --- 8,18 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/sys/file.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/sys/file.h,v retrieving revision 1.2 diff -p -c -3 -r1.2 file.h *** include/sys/file.h 2 Feb 2001 00:56:03 -0000 1.2 --- include/sys/file.h 2 Feb 2003 15:06:13 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2001 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_sys_file_h_ *************** extern "C" { *** 8,13 **** --- 9,19 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/sys/fsext.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/sys/fsext.h,v retrieving revision 1.7 diff -p -c -3 -r1.7 fsext.h *** include/sys/fsext.h 17 Oct 2002 23:00:24 -0000 1.7 --- include/sys/fsext.h 2 Feb 2003 15:06:16 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2002 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2000 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1998 DJ Delorie, see COPYING.DJ for details */ *************** extern "C" { *** 10,15 **** --- 11,21 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/sys/gmon.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/sys/gmon.h,v retrieving revision 1.1 diff -p -c -3 -r1.1 gmon.h *** include/sys/gmon.h 1 Jun 2001 15:23:35 -0000 1.1 --- include/sys/gmon.h 2 Feb 2003 15:06:16 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2001 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_sys_gmon_h_ #define __dj_include_sys_gmon_h_ *************** extern "C" { *** 7,12 **** --- 8,18 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/sys/ioctl.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/sys/ioctl.h,v retrieving revision 1.5 diff -p -c -3 -r1.5 ioctl.h *** include/sys/ioctl.h 17 Oct 2002 23:00:24 -0000 1.5 --- include/sys/ioctl.h 2 Feb 2003 15:06:21 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2001 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1996 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_sys_ioctl_h_ *************** extern "C"{ *** 9,14 **** --- 10,20 ---- #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/sys/mman.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/sys/mman.h,v retrieving revision 1.1 diff -p -c -3 -r1.1 mman.h *** include/sys/mman.h 15 Jul 1995 14:39:16 -0000 1.1 --- include/sys/mman.h 2 Feb 2003 15:06:21 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_sys_mman_h_ #define __dj_include_sys_mman_h_ *************** extern "C" { *** 7,12 **** --- 8,18 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/sys/mono.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/sys/mono.h,v retrieving revision 1.1 diff -p -c -3 -r1.1 mono.h *** include/sys/mono.h 17 Jul 1995 07:44:50 -0000 1.1 --- include/sys/mono.h 2 Feb 2003 15:06:24 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_sys_mono_h_ #define __dj_include_sys_mono_h_ *************** extern "C" { *** 7,12 **** --- 8,18 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/sys/movedata.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/sys/movedata.h,v retrieving revision 1.4 diff -p -c -3 -r1.4 movedata.h *** include/sys/movedata.h 17 Oct 2002 23:00:24 -0000 1.4 --- include/sys/movedata.h 2 Feb 2003 15:06:24 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2000 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1998 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ *************** extern "C" { *** 9,14 **** --- 10,20 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/sys/nearptr.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/sys/nearptr.h,v retrieving revision 1.1 diff -p -c -3 -r1.1 nearptr.h *** include/sys/nearptr.h 10 Jul 1995 03:30:22 -0000 1.1 --- include/sys/nearptr.h 2 Feb 2003 15:06:26 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_sys_nearptr_h_ #define __dj_include_sys_nearptr_h_ *************** extern "C" { *** 7,12 **** --- 8,18 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/sys/param.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/sys/param.h,v retrieving revision 1.1 diff -p -c -3 -r1.1 param.h *** include/sys/param.h 13 Jun 1995 06:17:52 -0000 1.1 --- include/sys/param.h 2 Feb 2003 15:06:26 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_sys_param_h_ #define __dj_include_sys_param_h_ *************** extern "C" { *** 7,12 **** --- 8,18 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/sys/resource.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/sys/resource.h,v retrieving revision 1.3 diff -p -c -3 -r1.3 resource.h *** include/sys/resource.h 8 Sep 1996 22:05:22 -0000 1.3 --- include/sys/resource.h 2 Feb 2003 15:06:30 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1996 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_sys_resource_h_ *************** extern "C" { *** 8,13 **** --- 9,19 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/sys/segments.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/sys/segments.h,v retrieving revision 1.4 diff -p -c -3 -r1.4 segments.h *** include/sys/segments.h 3 Jun 1999 17:22:29 -0000 1.4 --- include/sys/segments.h 2 Feb 2003 15:06:30 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1999 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1998 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ *************** extern "C" { *** 9,14 **** --- 10,20 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/sys/stat.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/sys/stat.h,v retrieving revision 1.7 diff -p -c -3 -r1.7 stat.h *** include/sys/stat.h 17 Oct 2002 23:00:24 -0000 1.7 --- include/sys/stat.h 2 Feb 2003 15:06:34 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2002 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2000 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ *************** extern "C" { *** 9,14 **** --- 10,20 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/sys/statvfs.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/sys/statvfs.h,v retrieving revision 1.2 diff -p -c -3 -r1.2 statvfs.h *** include/sys/statvfs.h 17 Oct 2002 23:00:24 -0000 1.2 --- include/sys/statvfs.h 2 Feb 2003 15:06:34 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2002 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2001 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_sys_statvfs_h_ *************** extern "C" { *** 8,13 **** --- 9,19 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/sys/sysmacros.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/sys/sysmacros.h,v retrieving revision 1.1 diff -p -c -3 -r1.1 sysmacros.h *** include/sys/sysmacros.h 1 Jan 1998 22:01:54 -0000 1.1 --- include/sys/sysmacros.h 2 Feb 2003 15:06:37 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1998 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_sys_sysmacros_h_ #define __dj_include_sys_sysmacros_h_ *************** extern "C" { *** 7,12 **** --- 8,18 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/sys/system.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/sys/system.h,v retrieving revision 1.5 diff -p -c -3 -r1.5 system.h *** include/sys/system.h 17 Oct 2002 23:00:24 -0000 1.5 --- include/sys/system.h 2 Feb 2003 15:06:37 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2002 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2000 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1998 DJ Delorie, see COPYING.DJ for details */ *************** extern "C" { *** 10,15 **** --- 11,21 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/sys/time.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/sys/time.h,v retrieving revision 1.3 diff -p -c -3 -r1.3 time.h *** include/sys/time.h 4 Aug 1999 19:54:59 -0000 1.3 --- include/sys/time.h 2 Feb 2003 15:06:40 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1999 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_sys_time_h_ *************** extern "C" { *** 8,13 **** --- 9,19 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/sys/timeb.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/sys/timeb.h,v retrieving revision 1.3 diff -p -c -3 -r1.3 timeb.h *** include/sys/timeb.h 17 Oct 2002 23:00:24 -0000 1.3 --- include/sys/timeb.h 2 Feb 2003 15:06:40 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2000 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_sys_timeb_h_ *************** extern "C" { *** 8,13 **** --- 9,19 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/sys/times.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/sys/times.h,v retrieving revision 1.3 diff -p -c -3 -r1.3 times.h *** include/sys/times.h 17 Oct 2002 23:00:24 -0000 1.3 --- include/sys/times.h 2 Feb 2003 15:06:42 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2000 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_sys_times_h_ *************** extern "C" { *** 8,13 **** --- 9,19 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/sys/types.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/sys/types.h,v retrieving revision 1.9 diff -p -c -3 -r1.9 types.h *** include/sys/types.h 17 Oct 2002 23:00:24 -0000 1.9 --- include/sys/types.h 2 Feb 2003 15:06:43 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2002 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2001 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2000 DJ Delorie, see COPYING.DJ for details */ *************** extern "C" { *** 12,17 **** --- 13,23 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/sys/utsname.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/sys/utsname.h,v retrieving revision 1.1 diff -p -c -3 -r1.1 utsname.h *** include/sys/utsname.h 21 Mar 1995 09:05:10 -0000 1.1 --- include/sys/utsname.h 2 Feb 2003 15:06:45 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_sys_utsname_h_ #define __dj_include_sys_utsname_h_ *************** extern "C" { *** 7,12 **** --- 8,18 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/sys/vfs.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/sys/vfs.h,v retrieving revision 1.1 diff -p -c -3 -r1.1 vfs.h *** include/sys/vfs.h 21 Mar 1995 09:05:02 -0000 1.1 --- include/sys/vfs.h 2 Feb 2003 15:06:45 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ #ifndef __dj_include_sys_vfs_h_ #define __dj_include_sys_vfs_h_ *************** extern "C" { *** 7,12 **** --- 8,18 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/sys/wait.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/sys/wait.h,v retrieving revision 1.5 diff -p -c -3 -r1.5 wait.h *** include/sys/wait.h 17 Oct 2002 23:00:24 -0000 1.5 --- include/sys/wait.h 2 Feb 2003 15:06:48 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2000 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1998 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ *************** extern "C" { *** 9,14 **** --- 10,20 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/sys/xdevices.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/sys/xdevices.h,v retrieving revision 1.1 diff -p -c -3 -r1.1 xdevices.h *** include/sys/xdevices.h 8 Feb 2002 21:22:54 -0000 1.1 --- include/sys/xdevices.h 2 Feb 2003 15:06:48 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2002 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2001 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2000 DJ Delorie, see COPYING.DJ for details */ *************** extern "C" { *** 10,15 **** --- 11,21 ---- #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__ Index: include/wctype.h =================================================================== RCS file: /cvs/djgpp/djgpp/include/wctype.h,v retrieving revision 1.6 diff -p -c -3 -r1.6 wctype.h *** include/wctype.h 17 Oct 2002 23:00:24 -0000 1.6 --- include/wctype.h 2 Feb 2003 15:06:50 -0000 *************** *** 1,3 **** --- 1,4 ---- + /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2000 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1999 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1998 DJ Delorie, see COPYING.DJ for details */ *************** __DJ_wint_t *** 30,35 **** --- 31,41 ---- /* Implementation defined types */ typedef unsigned short wctype_t; typedef const unsigned char *wctrans_t; + + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || !defined(__STRICT_ANSI__) + + #endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */ #ifndef __STRICT_ANSI__