summaryrefslogtreecommitdiff
path: root/lib/libc/gen
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen')
-rw-r--r--lib/libc/gen/_rand48.c3
-rw-r--r--lib/libc/gen/arc4random.c7
-rw-r--r--lib/libc/gen/clock.c2
-rw-r--r--lib/libc/gen/confstr.c2
-rw-r--r--lib/libc/gen/ctermid.c4
-rw-r--r--lib/libc/gen/drand48.c3
-rw-r--r--lib/libc/gen/erand48.c3
-rw-r--r--lib/libc/gen/err.c3
-rw-r--r--lib/libc/gen/errlst.c4
-rw-r--r--lib/libc/gen/getbsize.c6
-rw-r--r--lib/libc/gen/getgrouplist.c3
-rw-r--r--lib/libc/gen/gethostname.c2
-rw-r--r--lib/libc/gen/getloadavg.c2
-rw-r--r--lib/libc/gen/jrand48.c3
-rw-r--r--lib/libc/gen/lcong48.c3
-rw-r--r--lib/libc/gen/lrand48.c3
-rw-r--r--lib/libc/gen/mrand48.c3
-rw-r--r--lib/libc/gen/msgctl.c3
-rw-r--r--lib/libc/gen/msgget.c3
-rw-r--r--lib/libc/gen/msgrcv.c3
-rw-r--r--lib/libc/gen/msgsnd.c3
-rw-r--r--lib/libc/gen/nice.c2
-rw-r--r--lib/libc/gen/nrand48.c3
-rw-r--r--lib/libc/gen/raise.c2
-rw-r--r--lib/libc/gen/seed48.c3
-rw-r--r--lib/libc/gen/semconfig.c3
-rw-r--r--lib/libc/gen/semctl.c3
-rw-r--r--lib/libc/gen/semget.c3
-rw-r--r--lib/libc/gen/semop.c3
-rw-r--r--lib/libc/gen/sethostname.c2
-rw-r--r--lib/libc/gen/siglist.c2
-rw-r--r--lib/libc/gen/sysctl.c2
-rw-r--r--lib/libc/gen/time.c2
-rw-r--r--lib/libc/gen/utime.c2
-rw-r--r--lib/libc/gen/valloc.c2
35 files changed, 88 insertions, 14 deletions
diff --git a/lib/libc/gen/_rand48.c b/lib/libc/gen/_rand48.c
index 990e2c86949b5..279bbc3623943 100644
--- a/lib/libc/gen/_rand48.c
+++ b/lib/libc/gen/_rand48.c
@@ -11,6 +11,9 @@
* to anyone/anything when using this software.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "rand48.h"
unsigned short _rand48_seed[3] = {
diff --git a/lib/libc/gen/arc4random.c b/lib/libc/gen/arc4random.c
index ad063b844c3e5..3fbb68f9f5f98 100644
--- a/lib/libc/gen/arc4random.c
+++ b/lib/libc/gen/arc4random.c
@@ -25,12 +25,15 @@
* RC4 is a registered trademark of RSA Laboratories.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "namespace.h"
+#include <sys/types.h>
+#include <sys/time.h>
#include <stdlib.h>
#include <fcntl.h>
#include <unistd.h>
-#include <sys/types.h>
-#include <sys/time.h>
#include "un-namespace.h"
struct arc4_stream {
diff --git a/lib/libc/gen/clock.c b/lib/libc/gen/clock.c
index fe867c2e3c903..91d20db4a8286 100644
--- a/lib/libc/gen/clock.c
+++ b/lib/libc/gen/clock.c
@@ -34,6 +34,8 @@
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)clock.c 8.1 (Berkeley) 6/4/93";
#endif /* LIBC_SCCS and not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/param.h>
#include <sys/time.h>
diff --git a/lib/libc/gen/confstr.c b/lib/libc/gen/confstr.c
index 0a7078e7f3477..753287dbc8b43 100644
--- a/lib/libc/gen/confstr.c
+++ b/lib/libc/gen/confstr.c
@@ -34,6 +34,8 @@
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)confstr.c 8.1 (Berkeley) 6/4/93";
#endif /* LIBC_SCCS and not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/param.h>
#include <sys/sysctl.h>
diff --git a/lib/libc/gen/ctermid.c b/lib/libc/gen/ctermid.c
index e43d6ab926a76..4c2ffe3c67bf4 100644
--- a/lib/libc/gen/ctermid.c
+++ b/lib/libc/gen/ctermid.c
@@ -29,13 +29,13 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $FreeBSD$
*/
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)ctermid.c 8.1 (Berkeley) 6/4/93";
#endif /* LIBC_SCCS and not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <stdio.h>
#include <paths.h>
diff --git a/lib/libc/gen/drand48.c b/lib/libc/gen/drand48.c
index cec04a6a2425f..672b5eef6b198 100644
--- a/lib/libc/gen/drand48.c
+++ b/lib/libc/gen/drand48.c
@@ -11,6 +11,9 @@
* to anyone/anything when using this software.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "rand48.h"
extern unsigned short _rand48_seed[3];
diff --git a/lib/libc/gen/erand48.c b/lib/libc/gen/erand48.c
index 286904c27839b..cdb3ec85052b4 100644
--- a/lib/libc/gen/erand48.c
+++ b/lib/libc/gen/erand48.c
@@ -11,6 +11,9 @@
* to anyone/anything when using this software.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "rand48.h"
double
diff --git a/lib/libc/gen/err.c b/lib/libc/gen/err.c
index c2a399baa4058..e3a5142658f72 100644
--- a/lib/libc/gen/err.c
+++ b/lib/libc/gen/err.c
@@ -31,12 +31,9 @@
* SUCH DAMAGE.
*/
-#if 0
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)err.c 8.1 (Berkeley) 6/4/93";
#endif /* LIBC_SCCS and not lint */
-#endif
-
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
diff --git a/lib/libc/gen/errlst.c b/lib/libc/gen/errlst.c
index 4d66fbebdbd2e..08a9625ba6709 100644
--- a/lib/libc/gen/errlst.c
+++ b/lib/libc/gen/errlst.c
@@ -29,13 +29,13 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $FreeBSD$
*/
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)errlst.c 8.2 (Berkeley) 11/16/93";
#endif /* LIBC_SCCS and not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <stdio.h>
diff --git a/lib/libc/gen/getbsize.c b/lib/libc/gen/getbsize.c
index 6f951e79a0655..b50b14e90008d 100644
--- a/lib/libc/gen/getbsize.c
+++ b/lib/libc/gen/getbsize.c
@@ -31,9 +31,11 @@
* SUCH DAMAGE.
*/
-#ifndef lint
+#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)getbsize.c 8.1 (Berkeley) 6/4/93";
-#endif /* not lint */
+#endif /* LIBC_SCCS and not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <err.h>
#include <stdio.h>
diff --git a/lib/libc/gen/getgrouplist.c b/lib/libc/gen/getgrouplist.c
index 7e15bb81252ad..02619e4966a8b 100644
--- a/lib/libc/gen/getgrouplist.c
+++ b/lib/libc/gen/getgrouplist.c
@@ -31,12 +31,9 @@
* SUCH DAMAGE.
*/
-#if 0
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)getgrouplist.c 8.2 (Berkeley) 12/8/94";
#endif /* LIBC_SCCS and not lint */
-#endif
-
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
diff --git a/lib/libc/gen/gethostname.c b/lib/libc/gen/gethostname.c
index 64bd64dcd9bf1..a5cd29098f792 100644
--- a/lib/libc/gen/gethostname.c
+++ b/lib/libc/gen/gethostname.c
@@ -34,6 +34,8 @@
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)gethostname.c 8.1 (Berkeley) 6/4/93";
#endif /* LIBC_SCCS and not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/param.h>
#include <sys/sysctl.h>
diff --git a/lib/libc/gen/getloadavg.c b/lib/libc/gen/getloadavg.c
index 811dbdaa7095c..5022d0de00605 100644
--- a/lib/libc/gen/getloadavg.c
+++ b/lib/libc/gen/getloadavg.c
@@ -34,6 +34,8 @@
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)getloadavg.c 8.1 (Berkeley) 6/4/93";
#endif /* LIBC_SCCS and not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/param.h>
#include <sys/time.h>
diff --git a/lib/libc/gen/jrand48.c b/lib/libc/gen/jrand48.c
index 051d5a69f5150..17076205559a2 100644
--- a/lib/libc/gen/jrand48.c
+++ b/lib/libc/gen/jrand48.c
@@ -11,6 +11,9 @@
* to anyone/anything when using this software.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "rand48.h"
long
diff --git a/lib/libc/gen/lcong48.c b/lib/libc/gen/lcong48.c
index f13826b3d3f33..ab0d1f762d80f 100644
--- a/lib/libc/gen/lcong48.c
+++ b/lib/libc/gen/lcong48.c
@@ -11,6 +11,9 @@
* to anyone/anything when using this software.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "rand48.h"
extern unsigned short _rand48_seed[3];
diff --git a/lib/libc/gen/lrand48.c b/lib/libc/gen/lrand48.c
index a3d0111cf4d54..44a7f5d0e924c 100644
--- a/lib/libc/gen/lrand48.c
+++ b/lib/libc/gen/lrand48.c
@@ -11,6 +11,9 @@
* to anyone/anything when using this software.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "rand48.h"
extern unsigned short _rand48_seed[3];
diff --git a/lib/libc/gen/mrand48.c b/lib/libc/gen/mrand48.c
index b23db51185f31..ef20fb87bf507 100644
--- a/lib/libc/gen/mrand48.c
+++ b/lib/libc/gen/mrand48.c
@@ -11,6 +11,9 @@
* to anyone/anything when using this software.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "rand48.h"
extern unsigned short _rand48_seed[3];
diff --git a/lib/libc/gen/msgctl.c b/lib/libc/gen/msgctl.c
index 7b74c51e24668..bf4b40f86164c 100644
--- a/lib/libc/gen/msgctl.c
+++ b/lib/libc/gen/msgctl.c
@@ -1,3 +1,6 @@
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/msg.h>
diff --git a/lib/libc/gen/msgget.c b/lib/libc/gen/msgget.c
index 3e146b05cbe6e..b497074066462 100644
--- a/lib/libc/gen/msgget.c
+++ b/lib/libc/gen/msgget.c
@@ -1,3 +1,6 @@
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/msg.h>
diff --git a/lib/libc/gen/msgrcv.c b/lib/libc/gen/msgrcv.c
index 5c1e387d14398..e4f77c5a63fbc 100644
--- a/lib/libc/gen/msgrcv.c
+++ b/lib/libc/gen/msgrcv.c
@@ -1,3 +1,6 @@
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/msg.h>
diff --git a/lib/libc/gen/msgsnd.c b/lib/libc/gen/msgsnd.c
index a6209159ff50e..ca9da960ea58c 100644
--- a/lib/libc/gen/msgsnd.c
+++ b/lib/libc/gen/msgsnd.c
@@ -1,3 +1,6 @@
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/msg.h>
diff --git a/lib/libc/gen/nice.c b/lib/libc/gen/nice.c
index 104c1a22a61a1..8ec41d1b50aed 100644
--- a/lib/libc/gen/nice.c
+++ b/lib/libc/gen/nice.c
@@ -34,6 +34,8 @@
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)nice.c 8.1 (Berkeley) 6/4/93";
#endif /* LIBC_SCCS and not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/types.h>
#include <sys/time.h>
diff --git a/lib/libc/gen/nrand48.c b/lib/libc/gen/nrand48.c
index 6c54065e7e0ff..16c8ca111b5e5 100644
--- a/lib/libc/gen/nrand48.c
+++ b/lib/libc/gen/nrand48.c
@@ -11,6 +11,9 @@
* to anyone/anything when using this software.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "rand48.h"
long
diff --git a/lib/libc/gen/raise.c b/lib/libc/gen/raise.c
index 2562c8188826d..debea3be71b57 100644
--- a/lib/libc/gen/raise.c
+++ b/lib/libc/gen/raise.c
@@ -34,6 +34,8 @@
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)raise.c 8.1 (Berkeley) 6/4/93";
#endif /* LIBC_SCCS and not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <signal.h>
#include <unistd.h>
diff --git a/lib/libc/gen/seed48.c b/lib/libc/gen/seed48.c
index 258c4bac3c9fb..5339b8c0c4e9b 100644
--- a/lib/libc/gen/seed48.c
+++ b/lib/libc/gen/seed48.c
@@ -11,6 +11,9 @@
* to anyone/anything when using this software.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "rand48.h"
extern unsigned short _rand48_seed[3];
diff --git a/lib/libc/gen/semconfig.c b/lib/libc/gen/semconfig.c
index cf5399b6dde4a..e8f247c622b04 100644
--- a/lib/libc/gen/semconfig.c
+++ b/lib/libc/gen/semconfig.c
@@ -1,3 +1,6 @@
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/sem.h>
diff --git a/lib/libc/gen/semctl.c b/lib/libc/gen/semctl.c
index 03ecdbc8ce6e9..3eded93d093e7 100644
--- a/lib/libc/gen/semctl.c
+++ b/lib/libc/gen/semctl.c
@@ -1,3 +1,6 @@
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/sem.h>
diff --git a/lib/libc/gen/semget.c b/lib/libc/gen/semget.c
index 81c6a86e438cb..8d1e6d0a2c2bd 100644
--- a/lib/libc/gen/semget.c
+++ b/lib/libc/gen/semget.c
@@ -1,3 +1,6 @@
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/sem.h>
diff --git a/lib/libc/gen/semop.c b/lib/libc/gen/semop.c
index 0b97c6aacb2f1..93518e51cda11 100644
--- a/lib/libc/gen/semop.c
+++ b/lib/libc/gen/semop.c
@@ -1,3 +1,6 @@
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/sem.h>
diff --git a/lib/libc/gen/sethostname.c b/lib/libc/gen/sethostname.c
index 6c3adc3feef03..1f0a14a1e599a 100644
--- a/lib/libc/gen/sethostname.c
+++ b/lib/libc/gen/sethostname.c
@@ -34,6 +34,8 @@
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)sethostname.c 8.1 (Berkeley) 6/4/93";
#endif /* LIBC_SCCS and not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/param.h>
#include <sys/sysctl.h>
diff --git a/lib/libc/gen/siglist.c b/lib/libc/gen/siglist.c
index e6987d5795d0c..b47e082f21812 100644
--- a/lib/libc/gen/siglist.c
+++ b/lib/libc/gen/siglist.c
@@ -34,6 +34,8 @@
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)siglist.c 8.1 (Berkeley) 6/4/93";
#endif /* LIBC_SCCS and not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/cdefs.h>
#include <signal.h>
diff --git a/lib/libc/gen/sysctl.c b/lib/libc/gen/sysctl.c
index 19709d5932e98..ad39ff6f91a86 100644
--- a/lib/libc/gen/sysctl.c
+++ b/lib/libc/gen/sysctl.c
@@ -34,6 +34,8 @@
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)sysctl.c 8.2 (Berkeley) 1/4/94";
#endif /* LIBC_SCCS and not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/param.h>
#include <sys/sysctl.h>
diff --git a/lib/libc/gen/time.c b/lib/libc/gen/time.c
index 044d3a21d883e..5a45d574a163b 100644
--- a/lib/libc/gen/time.c
+++ b/lib/libc/gen/time.c
@@ -34,6 +34,8 @@
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)time.c 8.1 (Berkeley) 6/4/93";
#endif /* LIBC_SCCS and not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/types.h>
#include <sys/time.h>
diff --git a/lib/libc/gen/utime.c b/lib/libc/gen/utime.c
index a561fd642d48f..7e544adc767de 100644
--- a/lib/libc/gen/utime.c
+++ b/lib/libc/gen/utime.c
@@ -34,6 +34,8 @@
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)utime.c 8.1 (Berkeley) 6/4/93";
#endif /* LIBC_SCCS and not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/time.h>
diff --git a/lib/libc/gen/valloc.c b/lib/libc/gen/valloc.c
index 6035329583604..456f31d21cfd0 100644
--- a/lib/libc/gen/valloc.c
+++ b/lib/libc/gen/valloc.c
@@ -34,6 +34,8 @@
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)valloc.c 8.1 (Berkeley) 6/4/93";
#endif /* LIBC_SCCS and not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <stdlib.h>
#include <unistd.h>