summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Ovsienko <denis@ovsienko.info>2023-02-17 09:10:02 +0000
committerDenis Ovsienko <denis@ovsienko.info>2023-02-17 09:20:08 +0000
commit6008cb83b72a8fafe9c69f6955f4bdffbc049a09 (patch)
treeededf771c62169aecbb23fb5650d1d43e657597b
parenta69de5a4d94baabdceb22a174b116b6e45ed72b9 (diff)
downloadtcpdump-6008cb83b72a8fafe9c69f6955f4bdffbc049a09.tar.gz
Lose Digital UNIX 4.x prototype header.
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.
-rw-r--r--Makefile.in1
-rw-r--r--lbl/os-osf4.h24
2 files changed, 0 insertions, 25 deletions
diff --git a/Makefile.in b/Makefile.in
index fb1aedbe..08036b76 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -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
index 359bf365..00000000
--- a/lbl/os-osf4.h
+++ /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);