*** /usr/include/curses_colr/curses.h.orig Thu May 30 03:00:00 1996 --- /usr/include/curses_colr/curses.h Mon Mar 1 18:31:23 2004 *************** *** 321,333 **** /* because some applications may be using that */ /* conflicts with */ #ifdef __hpux extern int vwprintw(WINDOW *, char *, va_list), vwscanw(WINDOW *, char *, va_list); ! #else /* !__hpux */ extern int vwprintw(WINDOW *, char *, void *), vwscanw(WINDOW *, char *, void *); ! #endif /* __hpux */ extern int mvwin(WINDOW *, int, int), mvderwin(WINDOW *, int, int), napms(int), newkey(char *, int, int), --- 321,337 ---- /* because some applications may be using that */ /* conflicts with */ + /* comment out ... tgl 3/2/04 #ifdef __hpux extern int vwprintw(WINDOW *, char *, va_list), vwscanw(WINDOW *, char *, va_list); ! #else ! */ extern int vwprintw(WINDOW *, char *, void *), vwscanw(WINDOW *, char *, void *); ! /* comment out ... tgl 3/2/04 ! #endif ! */ extern int mvwin(WINDOW *, int, int), mvderwin(WINDOW *, int, int), napms(int), newkey(char *, int, int), *** /usr/include/sys/fcntl.h.orig Wed Feb 18 09:25:34 1998 --- /usr/include/sys/fcntl.h Sat May 31 13:37:37 2008 *************** *** 212,220 **** #if defined(_FILE64) # ifndef __cplusplus # ifdef __STDC_EXT__ ! static open(a,b,c) const char *a; mode_t c;{ return __open64(a,b,c); } ! static creat(a,b) const char *a; mode_t b; { return __creat64(a,b); } # else static open(a,b,c) { return __open64(a,b,c); } static creat(a,b) { return __creat64(a,b); } --- 212,223 ---- #if defined(_FILE64) # ifndef __cplusplus + /* these two lines added by tgl 9/4/02: */ + extern int __open64(); + extern int __creat64(); # ifdef __STDC_EXT__ ! static int open(a,b,c) const char *a; int b; mode_t c;{ return __open64(a,b,c); } ! static int creat(a,b) const char *a; mode_t b; { return __creat64(a,b); } # else static open(a,b,c) { return __open64(a,b,c); } static creat(a,b) { return __creat64(a,b); } *** /usr/include/sys/stat.h.orig Wed Feb 18 09:25:35 1998 --- /usr/include/sys/stat.h Sat May 31 13:38:18 2008 *************** *** 172,181 **** #if defined(_FILE64) # ifndef __cplusplus # ifdef __STDC_EXT__ ! static stat(a,b) const char *a; struct stat *b; { return __stat64(a,b); } ! static fstat(a,b) struct stat *b; { return __fstat64(a,b); } ! static lstat(a,b) const char *a; struct stat *b; { return __lstat64(a,b); } # else static stat(a,b) { return __stat64(a,b); } static fstat(a,b) { return __fstat64(a,b); } --- 172,185 ---- #if defined(_FILE64) # ifndef __cplusplus + /* these three lines added by tgl 9/4/02: */ + extern int __stat64(); + extern int __fstat64(); + extern int __lstat64(); # ifdef __STDC_EXT__ ! static int stat(a,b) const char *a; struct stat *b; { return __stat64(a,b); } ! static int fstat(a,b) int a; struct stat *b; { return __fstat64(a,b); } ! static int lstat(a,b) const char *a; struct stat *b; { return __lstat64(a,b); } # else static stat(a,b) { return __stat64(a,b); } static fstat(a,b) { return __fstat64(a,b); } *** /usr/include/sys/resource.h.orig Wed Feb 18 09:25:35 1998 --- /usr/include/sys/resource.h Sat May 31 13:19:04 2008 *************** *** 165,175 **** inline int setrlimit(int a, const struct rlimit *b) { return __setrlimit64(a,b); } # else /* not __cplusplus */ ! static getrlimit(a,b) struct rlimit *b; { return __getrlimit64(a,b); } # ifdef __STDC_EXT__ ! static setrlimit(a,b) const struct rlimit *b; { return __setrlimit64(a,b); } # else ! static setrlimit(a,b) struct rlimit *b; { return __setrlimit64(a,b); } # endif /* __STDC_EXT__ */ # endif /* __cplusplus */ #endif /* _FILE64 */ --- 165,178 ---- inline int setrlimit(int a, const struct rlimit *b) { return __setrlimit64(a,b); } # else /* not __cplusplus */ ! /* these two lines added by tgl 9/4/02: */ ! extern int __getrlimit64(); ! extern int __setrlimit64(); ! static int getrlimit(a,b) int a; struct rlimit *b; { return __getrlimit64(a,b); } # ifdef __STDC_EXT__ ! static int setrlimit(a,b) int a; const struct rlimit *b; { return __setrlimit64(a,b); } # else ! static int setrlimit(a,b) int a; struct rlimit *b; { return __setrlimit64(a,b); } # endif /* __STDC_EXT__ */ # endif /* __cplusplus */ #endif /* _FILE64 */ *** /usr/include/sys/unistd.h.orig Thu Jun 4 18:19:46 1998 --- /usr/include/sys/unistd.h Sat May 31 13:21:42 2008 *************** *** 535,549 **** # if defined(_FILE64) # ifndef __cplusplus extern off_t __lseek64(); # ifdef __STDC_EXT__ static truncate(a,b) const char *a; off_t b; { return __truncate64(a,b); } # else ! static truncate(a,b) off_t b; { return __truncate64(a,b); } # endif /* __STDC_EXT__ */ ! static int prealloc(a,b) off_t b; { return __prealloc64(a,b); } ! static int lockf(a,b,c) off_t c; { return __lockf64(a,b,c); } ! static int ftruncate(a,b) off_t b; { return __ftruncate64(a,b); } ! static off_t lseek(a,b,c) off_t b; { return __lseek64(a,b,c); } # else /* __cplusplus */ extern off_t __lseek64(int, off_t, int); extern int __truncate64(const char *, off_t); --- 535,554 ---- # if defined(_FILE64) # ifndef __cplusplus extern off_t __lseek64(); + /* these four lines added by tgl 9/4/02: */ + extern int __truncate64(); + extern int __prealloc64(); + extern int __lockf64(); + extern int __ftruncate64(); # ifdef __STDC_EXT__ static truncate(a,b) const char *a; off_t b; { return __truncate64(a,b); } # else ! static truncate(a,b) char *a; off_t b; { return __truncate64(a,b); } # endif /* __STDC_EXT__ */ ! static int prealloc(a,b) int a; off_t b; { return __prealloc64(a,b); } ! static int lockf(a,b,c) int a, b; off_t c; { return __lockf64(a,b,c); } ! static int ftruncate(a,b) int a; off_t b; { return __ftruncate64(a,b); } ! static off_t lseek(a,b,c) int a, c; off_t b; { return __lseek64(a,b,c); } # else /* __cplusplus */ extern off_t __lseek64(int, off_t, int); extern int __truncate64(const char *, off_t); *** /usr/include/netdb.h.orig Fri Jun 7 03:00:00 1996 --- /usr/include/netdb.h Sun May 6 18:44:21 2007 *************** *** 405,413 **** * (left in extern int h_errno). */ ! #ifdef _XOPEN_SOURCE_EXTENDED extern int h_errno; ! #endif #define HOST_NOT_FOUND 1 /* Authoritative Answer Host not found */ #define TRY_AGAIN 2 /* Non-Authoritive Host not found, or SERVERFAIL */ --- 405,414 ---- * (left in extern int h_errno). */ ! /* remove ifdef 5/6/07 tgl --- not per man page */ ! /* #ifdef _XOPEN_SOURCE_EXTENDED */ extern int h_errno; ! /* #endif */ #define HOST_NOT_FOUND 1 /* Authoritative Answer Host not found */ #define TRY_AGAIN 2 /* Non-Authoritive Host not found, or SERVERFAIL */