diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 1999-12-20 00:51:25 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 1999-12-20 00:51:25 +0000 |
commit | 76898cd330297d16c67c5e7c6024440ff4343336 (patch) | |
tree | 2c87cbf16c1f27db956ecbf53f9a780cdc719054 /src/include/port/hpux.h | |
parent | 095d83e1294ab54f1a2784b4b9e82d8f2281e4dd (diff) |
Avoid compiler warnings on systems that have snprintf and/or vsnprintf
but do not bother to declare them in <stdio.h>. Seems to be a more
common omission than you'd think...
Diffstat (limited to 'src/include/port/hpux.h')
-rw-r--r-- | src/include/port/hpux.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/include/port/hpux.h b/src/include/port/hpux.h index 0c42e6c4b76..4ef01af0958 100644 --- a/src/include/port/hpux.h +++ b/src/include/port/hpux.h @@ -6,14 +6,6 @@ typedef struct int sema[4]; } slock_t; -/* HPUX 9 has snprintf in the library, so configure will set HAVE_SNPRINTF; - * but it doesn't provide a prototype for it. To suppress warning messages - * from gcc, do this to make c.h provide the prototype: - */ -#ifndef HAVE_VSNPRINTF -#undef HAVE_SNPRINTF -#endif - #ifndef BIG_ENDIAN #define BIG_ENDIAN 4321 #endif |