]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Lose Digital UNIX 4.x prototype header.
authorDenis Ovsienko <[email protected]>
Fri, 17 Feb 2023 09:10:02 +0000 (09:10 +0000)
committerDenis Ovsienko <[email protected]>
Fri, 17 Feb 2023 09:20:08 +0000 (09:20 +0000)
The final 4.x release 4.0F dates back to 1999, and the only prototypes
in the header are snprintf(), which became available in Tru64 UNIX 5.0
(as far as libpcap lbl/os-osf5.h mentions it), and vsnprintf(), which
tcpdump does not use any more.

Makefile.in
lbl/os-osf4.h [deleted file]

index fb1aedbedb0452276df1734d5a898b0c6e13cdcb..08036b7651022ffb008b4bc0332a49616869ef54 100644 (file)
@@ -360,7 +360,6 @@ EXTRA_DIST = \
        doc/README.Win32.md \
        install-sh \
        instrument-functions.c \
-       lbl/os-osf4.h \
        makemib \
        missing/datalinks.c \
        missing/dlnames.c \
diff --git a/lbl/os-osf4.h b/lbl/os-osf4.h
deleted file mode 100644 (file)
index 359bf36..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * Copyright (c) 1993, 1994, 1995, 1996, 1997
- *     The Regents of the University of California.  All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that: (1) source code distributions
- * retain the above copyright notice and this paragraph in its entirety, (2)
- * distributions including binary code include the above copyright notice and
- * this paragraph in its entirety in the documentation or other materials
- * provided with the distribution, and (3) all advertising materials mentioning
- * features or use of this software display the following acknowledgement:
- * ``This product includes software developed by the University of California,
- * Lawrence Berkeley Laboratory and its contributors.'' Neither the name of
- * the University nor the names of its contributors may be used to endorse
- * or promote products derived from this software without specific prior
- * written permission.
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
- * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
- * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
- */
-
-/* Prototypes missing in Digital UNIX 4.x */
-int    snprintf(char *, size_t, const char *, ...);
-int    vsnprintf(char *, size_t, const char *, va_list);