summaryrefslogtreecommitdiff
path: root/lib/libc/string/strdup.c
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2001-11-07 19:55:16 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2001-11-07 19:55:16 +0000
commitde5fe5d53b634e506f94a6df3a9261aa20fa152f (patch)
treee47c6230efb2d221680927cb452335d70bc9bf2a /lib/libc/string/strdup.c
parent22f94a0a1616c9061c3282eded4ca7d9179cd0a5 (diff)
Notes
Diffstat (limited to 'lib/libc/string/strdup.c')
-rw-r--r--lib/libc/string/strdup.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libc/string/strdup.c b/lib/libc/string/strdup.c
index 55ba8cc1936a..788a185e54d1 100644
--- a/lib/libc/string/strdup.c
+++ b/lib/libc/string/strdup.c
@@ -34,10 +34,8 @@
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)strdup.c 8.1 (Berkeley) 6/4/93";
#endif /* LIBC_SCCS and not lint */
-#ifndef lint
-static const char rcsid[] =
- "$FreeBSD$";
-#endif
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <stddef.h>
#include <stdlib.h>