aboutsummaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/db/recno/rec_seq.c1
-rw-r--r--lib/libc/rpc/svc_dg.c2
-rw-r--r--lib/libc/stdio/vfwprintf.c2
-rw-r--r--lib/libc/stdio/vfwscanf.c2
-rw-r--r--lib/libc/stdlib/getopt_long.c2
-rw-r--r--lib/libc/stdlib/ptsname.c3
-rw-r--r--lib/libc/string/wcsncpy.c2
-rw-r--r--lib/libc/string/wcsstr.c2
8 files changed, 0 insertions, 16 deletions
diff --git a/lib/libc/db/recno/rec_seq.c b/lib/libc/db/recno/rec_seq.c
index 5ba51eb916e4..7f1ba88e73df 100644
--- a/lib/libc/db/recno/rec_seq.c
+++ b/lib/libc/db/recno/rec_seq.c
@@ -29,7 +29,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include <sys/types.h>
#include <errno.h>
diff --git a/lib/libc/rpc/svc_dg.c b/lib/libc/rpc/svc_dg.c
index ddd9c25e21e3..892fe5ceaa53 100644
--- a/lib/libc/rpc/svc_dg.c
+++ b/lib/libc/rpc/svc_dg.c
@@ -34,8 +34,6 @@
* Copyright (c) 1986-1991 by Sun Microsystems Inc.
*/
-#if defined(LIBC_SCCS) && !defined(lint)
-#endif
/*
* svc_dg.c, Server side for connectionless RPC.
*
diff --git a/lib/libc/stdio/vfwprintf.c b/lib/libc/stdio/vfwprintf.c
index ca62716d38dd..d43b472f7730 100644
--- a/lib/libc/stdio/vfwprintf.c
+++ b/lib/libc/stdio/vfwprintf.c
@@ -37,8 +37,6 @@
* SUCH DAMAGE.
*/
-#if 0
-#endif
/*
* Actual wprintf innards.
*
diff --git a/lib/libc/stdio/vfwscanf.c b/lib/libc/stdio/vfwscanf.c
index 3f66d57e67b6..57206a8407d5 100644
--- a/lib/libc/stdio/vfwscanf.c
+++ b/lib/libc/stdio/vfwscanf.c
@@ -39,8 +39,6 @@
* SUCH DAMAGE.
*/
-#if 0
-#endif
#include "namespace.h"
#include <ctype.h>
#include <inttypes.h>
diff --git a/lib/libc/stdlib/getopt_long.c b/lib/libc/stdlib/getopt_long.c
index 1fdc5e3047af..5cf6a55649bd 100644
--- a/lib/libc/stdlib/getopt_long.c
+++ b/lib/libc/stdlib/getopt_long.c
@@ -49,8 +49,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#if 0
-#endif
#include <err.h>
#include <errno.h>
#include <getopt.h>
diff --git a/lib/libc/stdlib/ptsname.c b/lib/libc/stdlib/ptsname.c
index ea1bc9c7b7f6..adbf0e1692a4 100644
--- a/lib/libc/stdlib/ptsname.c
+++ b/lib/libc/stdlib/ptsname.c
@@ -29,9 +29,6 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-#endif /* not lint */
-
#include "namespace.h"
#include <sys/param.h>
#include <sys/ioctl.h>
diff --git a/lib/libc/string/wcsncpy.c b/lib/libc/string/wcsncpy.c
index 4302ce2d2ede..a02a8292c0d1 100644
--- a/lib/libc/string/wcsncpy.c
+++ b/lib/libc/string/wcsncpy.c
@@ -32,8 +32,6 @@
* SUCH DAMAGE.
*/
-#if 0
-#endif
#include <wchar.h>
/*
diff --git a/lib/libc/string/wcsstr.c b/lib/libc/string/wcsstr.c
index b874d1d6e9bd..beb5e8931742 100644
--- a/lib/libc/string/wcsstr.c
+++ b/lib/libc/string/wcsstr.c
@@ -32,8 +32,6 @@
* SUCH DAMAGE.
*/
-#if 0
-#endif
#include <wchar.h>
/*