summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Ovsienko <denis@ovsienko.info>2023-03-18 11:33:27 +0000
committerDenis Ovsienko <denis@ovsienko.info>2023-03-18 11:51:15 +0000
commitf377e140e354efb72da9c70bb8bb6613a10014ef (patch)
treec8ff6ab13654cea7961a5bb5b54f5dc0b7ba1fdb
parent51fb0c5bde8d01f9df0e495e1b62af6579932bb5 (diff)
downloadlibpcap-f377e140e354efb72da9c70bb8bb6613a10014ef.tar.gz
Remove prototype header for Digital/Tru64 5.x. [skip ci]
The first 5.x release was 22 years ago, the vendor stopped supporting this OS 10 years ago.
-rw-r--r--INSTALL.md2
-rw-r--r--Makefile.in1
-rw-r--r--lbl/os-osf5.h30
3 files changed, 1 insertions, 32 deletions
diff --git a/INSTALL.md b/INSTALL.md
index 7aa11d6f..6e20ca71 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -241,7 +241,7 @@ in `/usr/include/sys/dlpi.h`, and find the corresponding value.
grammar.y - filter string grammar
ieee80211.h - 802.11 definitions
install-sh - BSD style install script
- lbl/os-*.h - OS-dependent defines and prototypes
+ lbl/os-*.h - OS-dependent defines and prototypes (if any)
llc.h - 802.2 LLC SAP definitions
missing/* - replacements for missing library functions
mkdep - construct Makefile dependency list
diff --git a/Makefile.in b/Makefile.in
index f896a28e..736aebda 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -286,7 +286,6 @@ EXTRA_DIST = \
fad-glifc.c \
grammar.y.in \
install-sh \
- lbl/os-osf5.h \
libpcap.pc.in \
missing/asprintf.c \
missing/getopt.c \
diff --git a/lbl/os-osf5.h b/lbl/os-osf5.h
deleted file mode 100644
index 52ab1750..00000000
--- a/lbl/os-osf5.h
+++ /dev/null
@@ -1,30 +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 Tru64 UNIX 5.x
- * XXX - "snprintf()" and "vsnprintf()" aren't missing, but you have to
- * #define the right value to get them defined by <stdio.h>.
- */
-int snprintf(char *, size_t, const char *, ...);
-int vsnprintf(char *, size_t, const char *, va_list);
-int pfopen(char *, int);
-