summaryrefslogtreecommitdiffstats
path: root/lib/libstand
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>2001-09-30 22:28:01 +0000
committerdillon <dillon@FreeBSD.org>2001-09-30 22:28:01 +0000
commitf6666a61a9103591bf3b2cba20c5342edd8e97d7 (patch)
tree7b2b4cc9ba796f4f78f1d24749494a17da45de32 /lib/libstand
parent2dd900a9effba30fda3fbb883a0fae5b42bc4088 (diff)
downloadFreeBSD-src-f6666a61a9103591bf3b2cba20c5342edd8e97d7.zip
FreeBSD-src-f6666a61a9103591bf3b2cba20c5342edd8e97d7.tar.gz
Add __FBSDID()s to libstand
Diffstat (limited to 'lib/libstand')
-rw-r--r--lib/libstand/__main.c3
-rw-r--r--lib/libstand/arp.c3
-rw-r--r--lib/libstand/assert.c5
-rw-r--r--lib/libstand/bcd.c5
-rw-r--r--lib/libstand/bootp.c4
-rw-r--r--lib/libstand/bootparam.c3
-rw-r--r--lib/libstand/bswap.c3
-rw-r--r--lib/libstand/bzipfs.c6
-rw-r--r--lib/libstand/cd9660.c4
-rw-r--r--lib/libstand/close.c4
-rw-r--r--lib/libstand/closeall.c3
-rw-r--r--lib/libstand/dev.c3
-rw-r--r--lib/libstand/dev_net.c3
-rw-r--r--lib/libstand/dosfs.c5
-rw-r--r--lib/libstand/environment.c6
-rw-r--r--lib/libstand/ether.c3
-rw-r--r--lib/libstand/ext2fs.c6
-rw-r--r--lib/libstand/fstat.c3
-rw-r--r--lib/libstand/getopt.c3
-rw-r--r--lib/libstand/gets.c3
-rw-r--r--lib/libstand/globals.c3
-rw-r--r--lib/libstand/gzipfs.c6
-rw-r--r--lib/libstand/in_cksum.c3
-rw-r--r--lib/libstand/inet_ntoa.c3
-rw-r--r--lib/libstand/ioctl.c3
-rw-r--r--lib/libstand/lseek.c4
-rw-r--r--lib/libstand/net.c4
-rw-r--r--lib/libstand/netif.c5
-rw-r--r--lib/libstand/nfs.c4
-rw-r--r--lib/libstand/nullfs.c4
-rw-r--r--lib/libstand/open.c4
-rw-r--r--lib/libstand/pager.c5
-rw-r--r--lib/libstand/printf.c4
-rw-r--r--lib/libstand/qdivrem.c4
-rw-r--r--lib/libstand/random.c4
-rw-r--r--lib/libstand/rarp.c4
-rw-r--r--lib/libstand/read.c4
-rw-r--r--lib/libstand/readdir.c5
-rw-r--r--lib/libstand/rpc.c3
-rw-r--r--lib/libstand/sbrk.c5
-rw-r--r--lib/libstand/stat.c3
-rw-r--r--lib/libstand/strcasecmp.c3
-rw-r--r--lib/libstand/strdup.c3
-rw-r--r--lib/libstand/strerror.c3
-rw-r--r--lib/libstand/strtol.c3
-rw-r--r--lib/libstand/tftp.c5
-rw-r--r--lib/libstand/twiddle.c4
-rw-r--r--lib/libstand/udp.c4
-rw-r--r--lib/libstand/ufs.c4
-rw-r--r--lib/libstand/write.c3
-rw-r--r--lib/libstand/zalloc.c5
-rw-r--r--lib/libstand/zalloc_malloc.c5
-rw-r--r--lib/libstand/zipfs.c6
53 files changed, 161 insertions, 49 deletions
diff --git a/lib/libstand/__main.c b/lib/libstand/__main.c
index be23105..1c7e677 100644
--- a/lib/libstand/__main.c
+++ b/lib/libstand/__main.c
@@ -30,6 +30,9 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include <sys/types.h>
void __main(void);
diff --git a/lib/libstand/arp.c b/lib/libstand/arp.c
index 4736b51..b84fe47 100644
--- a/lib/libstand/arp.c
+++ b/lib/libstand/arp.c
@@ -39,6 +39,9 @@
* @(#) Header: arp.c,v 1.5 93/07/15 05:52:26 leres Exp (LBL)
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include <sys/types.h>
#include <sys/socket.h>
#include <net/if.h>
diff --git a/lib/libstand/assert.c b/lib/libstand/assert.c
index a0b2cbf..9edba3c 100644
--- a/lib/libstand/assert.c
+++ b/lib/libstand/assert.c
@@ -22,10 +22,11 @@
* 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$
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include <assert.h>
#include "stand.h"
diff --git a/lib/libstand/bcd.c b/lib/libstand/bcd.c
index 296c8e9..7bd67c9 100644
--- a/lib/libstand/bcd.c
+++ b/lib/libstand/bcd.c
@@ -1,10 +1,11 @@
/*
* Some data-tables that are often used.
* Cannot be copyrighted.
- *
- * $FreeBSD$
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include <sys/types.h>
u_char const bcd2bin_data[] = {
diff --git a/lib/libstand/bootp.c b/lib/libstand/bootp.c
index 5ac38b3..2de2f1f 100644
--- a/lib/libstand/bootp.c
+++ b/lib/libstand/bootp.c
@@ -37,9 +37,11 @@
* SUCH DAMAGE.
*
* @(#) Header: bootp.c,v 1.4 93/09/11 03:13:51 leres Exp (LBL)
- * $FreeBSD$
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include <sys/types.h>
#include <netinet/in.h>
#include <netinet/in_systm.h>
diff --git a/lib/libstand/bootparam.c b/lib/libstand/bootparam.c
index 6d64e7a..e4d2f10 100644
--- a/lib/libstand/bootparam.c
+++ b/lib/libstand/bootparam.c
@@ -30,6 +30,9 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
/*
* RPC/bootparams
*/
diff --git a/lib/libstand/bswap.c b/lib/libstand/bswap.c
index 1951509..a9bd323 100644
--- a/lib/libstand/bswap.c
+++ b/lib/libstand/bswap.c
@@ -3,6 +3,9 @@
* Public domain.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#if defined(LIBC_SCCS) && !defined(lint)
static char *rcsid = "$NetBSD: bswap32.c,v 1.1 1997/10/09 15:42:33 bouyer Exp $";
static char *rcsid = "$NetBSD: bswap64.c,v 1.1 1997/10/09 15:42:33 bouyer Exp $";
diff --git a/lib/libstand/bzipfs.c b/lib/libstand/bzipfs.c
index 749ea9d..88b7940 100644
--- a/lib/libstand/bzipfs.c
+++ b/lib/libstand/bzipfs.c
@@ -23,11 +23,11 @@
* 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$
- *
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "stand.h"
#include <sys/stat.h>
diff --git a/lib/libstand/cd9660.c b/lib/libstand/cd9660.c
index da34ab9..e53ea34 100644
--- a/lib/libstand/cd9660.c
+++ b/lib/libstand/cd9660.c
@@ -1,4 +1,3 @@
-/* $FreeBSD$ */
/* $NetBSD: cd9660.c,v 1.5 1997/06/26 19:11:33 drochner Exp $ */
/*
@@ -32,6 +31,9 @@
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
/*
* Stand-alone ISO9660 file reading package.
*
diff --git a/lib/libstand/close.c b/lib/libstand/close.c
index bf81094..8ad628b 100644
--- a/lib/libstand/close.c
+++ b/lib/libstand/close.c
@@ -1,4 +1,3 @@
-/* $FreeBSD$ */
/* $NetBSD: close.c,v 1.7 1997/01/22 00:38:09 cgd Exp $ */
/*-
@@ -65,6 +64,9 @@
* rights to redistribute these changes.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "stand.h"
int
diff --git a/lib/libstand/closeall.c b/lib/libstand/closeall.c
index 8da450a..2f7be72 100644
--- a/lib/libstand/closeall.c
+++ b/lib/libstand/closeall.c
@@ -64,6 +64,9 @@
* rights to redistribute these changes.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "stand.h"
void
diff --git a/lib/libstand/dev.c b/lib/libstand/dev.c
index c5b9c27..12d7130 100644
--- a/lib/libstand/dev.c
+++ b/lib/libstand/dev.c
@@ -35,6 +35,9 @@
* @(#)dev.c 8.1 (Berkeley) 6/11/93
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include <sys/param.h>
#include <sys/reboot.h>
diff --git a/lib/libstand/dev_net.c b/lib/libstand/dev_net.c
index cfa9fbf..3ddc24f 100644
--- a/lib/libstand/dev_net.c
+++ b/lib/libstand/dev_net.c
@@ -36,6 +36,9 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
/*
* This module implements a "raw device" interface suitable for
* use by the stand-alone I/O library NFS code. This interface
diff --git a/lib/libstand/dosfs.c b/lib/libstand/dosfs.c
index 3646a9e..792e0be 100644
--- a/lib/libstand/dosfs.c
+++ b/lib/libstand/dosfs.c
@@ -23,10 +23,11 @@
* IN CONTRACT, STRICT 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$
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
/*
* Readonly filesystem for Microsoft FAT12/FAT16/FAT32 filesystems,
* also supports VFAT.
diff --git a/lib/libstand/environment.c b/lib/libstand/environment.c
index 158e845..1365a1c 100644
--- a/lib/libstand/environment.c
+++ b/lib/libstand/environment.c
@@ -22,11 +22,11 @@
* 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$
- *
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
/*
* Manage an environment-like space in which string variables may be stored.
* Provide support for some method-like operations for setting/retrieving
diff --git a/lib/libstand/ether.c b/lib/libstand/ether.c
index 871dad4..af26bcf 100644
--- a/lib/libstand/ether.c
+++ b/lib/libstand/ether.c
@@ -39,6 +39,9 @@
* @(#) Header: net.c,v 1.9 93/08/06 19:32:15 leres Exp (LBL)
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include <sys/param.h>
#include <sys/socket.h>
#include <string.h>
diff --git a/lib/libstand/ext2fs.c b/lib/libstand/ext2fs.c
index 6c05cf5..b025f64 100644
--- a/lib/libstand/ext2fs.c
+++ b/lib/libstand/ext2fs.c
@@ -22,9 +22,11 @@
* 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$
*/
+
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
/*-
* Copyright (c) 1993
* The Regents of the University of California. All rights reserved.
diff --git a/lib/libstand/fstat.c b/lib/libstand/fstat.c
index aa8b898..8504acf 100644
--- a/lib/libstand/fstat.c
+++ b/lib/libstand/fstat.c
@@ -35,6 +35,9 @@
* @(#)stat.c 8.1 (Berkeley) 6/11/93
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "stand.h"
int
diff --git a/lib/libstand/getopt.c b/lib/libstand/getopt.c
index f788fe0..9af05e0 100644
--- a/lib/libstand/getopt.c
+++ b/lib/libstand/getopt.c
@@ -31,6 +31,9 @@
* SUCH DAMAGE.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)getopt.c 8.3 (Berkeley) 4/27/95";
#endif /* LIBC_SCCS and not lint */
diff --git a/lib/libstand/gets.c b/lib/libstand/gets.c
index dc26a99..dec627d 100644
--- a/lib/libstand/gets.c
+++ b/lib/libstand/gets.c
@@ -35,6 +35,9 @@
* @(#)gets.c 8.1 (Berkeley) 6/11/93
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "stand.h"
/* gets() with constrained input length */
diff --git a/lib/libstand/globals.c b/lib/libstand/globals.c
index c35021c..0310823 100644
--- a/lib/libstand/globals.c
+++ b/lib/libstand/globals.c
@@ -7,6 +7,9 @@
* must be included extraneously.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include <sys/param.h>
#include <netinet/in.h>
#include <netinet/in_systm.h>
diff --git a/lib/libstand/gzipfs.c b/lib/libstand/gzipfs.c
index c95621c..59034ff 100644
--- a/lib/libstand/gzipfs.c
+++ b/lib/libstand/gzipfs.c
@@ -22,11 +22,11 @@
* 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$
- *
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "stand.h"
#include <sys/stat.h>
diff --git a/lib/libstand/in_cksum.c b/lib/libstand/in_cksum.c
index d9b8964..11bc75c 100644
--- a/lib/libstand/in_cksum.c
+++ b/lib/libstand/in_cksum.c
@@ -39,6 +39,9 @@
* @(#) Header: in_cksum.c,v 1.1 92/09/11 01:15:55 leres Exp (LBL)
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include <sys/types.h>
/*
diff --git a/lib/libstand/inet_ntoa.c b/lib/libstand/inet_ntoa.c
index c7efb0a..3bfe09e 100644
--- a/lib/libstand/inet_ntoa.c
+++ b/lib/libstand/inet_ntoa.c
@@ -31,6 +31,9 @@
* SUCH DAMAGE.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)inet_ntoa.c 8.1 (Berkeley) 6/4/93";
#endif /* LIBC_SCCS and not lint */
diff --git a/lib/libstand/ioctl.c b/lib/libstand/ioctl.c
index 1b0f353..45a014c 100644
--- a/lib/libstand/ioctl.c
+++ b/lib/libstand/ioctl.c
@@ -64,6 +64,9 @@
* rights to redistribute these changes.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "stand.h"
int
diff --git a/lib/libstand/lseek.c b/lib/libstand/lseek.c
index f945460..6880ef9 100644
--- a/lib/libstand/lseek.c
+++ b/lib/libstand/lseek.c
@@ -1,4 +1,3 @@
-/* $FreeBSD$ */
/* $NetBSD: lseek.c,v 1.4 1997/01/22 00:38:10 cgd Exp $ */
/*-
@@ -65,6 +64,9 @@
* rights to redistribute these changes.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "stand.h"
off_t
diff --git a/lib/libstand/net.c b/lib/libstand/net.c
index b01c3c6..6ac0de8 100644
--- a/lib/libstand/net.c
+++ b/lib/libstand/net.c
@@ -37,9 +37,11 @@
* SUCH DAMAGE.
*
* @(#) Header: net.c,v 1.9 93/08/06 19:32:15 leres Exp (LBL)
- * $FreeBSD$
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include <sys/param.h>
#include <sys/socket.h>
diff --git a/lib/libstand/netif.c b/lib/libstand/netif.c
index d63f953..4d852d4 100644
--- a/lib/libstand/netif.c
+++ b/lib/libstand/netif.c
@@ -29,10 +29,11 @@
* 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$
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include <sys/param.h>
#include <sys/lock.h>
#include <sys/mutex.h>
diff --git a/lib/libstand/nfs.c b/lib/libstand/nfs.c
index 67fc1bc..1fc62b7 100644
--- a/lib/libstand/nfs.c
+++ b/lib/libstand/nfs.c
@@ -1,4 +1,3 @@
-/* $FreeBSD$ */
/* $NetBSD: nfs.c,v 1.2 1998/01/24 12:43:09 drochner Exp $ */
/*-
@@ -29,6 +28,9 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include <sys/param.h>
#include <sys/time.h>
#include <sys/socket.h>
diff --git a/lib/libstand/nullfs.c b/lib/libstand/nullfs.c
index 0f77bd4..ae12cb0 100644
--- a/lib/libstand/nullfs.c
+++ b/lib/libstand/nullfs.c
@@ -1,4 +1,3 @@
-/* $FreeBSD$ */
/* $NetBSD: nullfs.c,v 1.1 1996/01/13 22:25:39 leo Exp $ */
/*-
@@ -65,6 +64,9 @@
* rights to redistribute these changes.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "stand.h"
/*
diff --git a/lib/libstand/open.c b/lib/libstand/open.c
index 471f937..64721e5 100644
--- a/lib/libstand/open.c
+++ b/lib/libstand/open.c
@@ -1,4 +1,3 @@
-/* $FreeBSD$ */
/* $NetBSD: open.c,v 1.16 1997/01/28 09:41:03 pk Exp $ */
/*-
@@ -65,6 +64,9 @@
* rights to redistribute these changes.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "stand.h"
struct open_file files[SOPEN_MAX];
diff --git a/lib/libstand/pager.c b/lib/libstand/pager.c
index 265ccdc..a966b0b 100644
--- a/lib/libstand/pager.c
+++ b/lib/libstand/pager.c
@@ -22,13 +22,14 @@
* 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$
*/
/*
* Simple paged-output and paged-viewing functions
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "stand.h"
#include <string.h>
diff --git a/lib/libstand/printf.c b/lib/libstand/printf.c
index 6e3702e..a9ed225 100644
--- a/lib/libstand/printf.c
+++ b/lib/libstand/printf.c
@@ -36,9 +36,11 @@
* SUCH DAMAGE.
*
* @(#)subr_prf.c 8.3 (Berkeley) 1/21/94
- * $FreeBSD$
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
/*
* Standaloneified version of the FreeBSD kernel printf family.
*/
diff --git a/lib/libstand/qdivrem.c b/lib/libstand/qdivrem.c
index a8231f0..d064c42 100644
--- a/lib/libstand/qdivrem.c
+++ b/lib/libstand/qdivrem.c
@@ -34,10 +34,12 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $FreeBSD$
* From: Id: qdivrem.c,v 1.7 1997/11/07 09:20:40 phk Exp
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
/*
* Multiprecision divide. This algorithm is from Knuth vol. 2 (2nd ed),
* section 4.3.1, pp. 257--259.
diff --git a/lib/libstand/random.c b/lib/libstand/random.c
index 13af195..994d307 100644
--- a/lib/libstand/random.c
+++ b/lib/libstand/random.c
@@ -31,9 +31,11 @@
* SUCH DAMAGE.
*
* @(#)random.c 8.1 (Berkeley) 6/10/93
- * $FreeBSD$
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include <sys/types.h>
static u_long randseed = 1;
diff --git a/lib/libstand/rarp.c b/lib/libstand/rarp.c
index 898e475..b9b317f 100644
--- a/lib/libstand/rarp.c
+++ b/lib/libstand/rarp.c
@@ -38,6 +38,10 @@
*
* @(#) Header: arp.c,v 1.5 93/07/15 05:52:26 leres Exp (LBL)
*/
+
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include <sys/param.h>
#include <sys/socket.h>
#include <net/if.h>
diff --git a/lib/libstand/read.c b/lib/libstand/read.c
index 28ff47e..36f0f22 100644
--- a/lib/libstand/read.c
+++ b/lib/libstand/read.c
@@ -1,4 +1,3 @@
-/* $FreeBSD$ */
/* $NetBSD: read.c,v 1.8 1997/01/22 00:38:12 cgd Exp $ */
/*-
@@ -65,6 +64,9 @@
* rights to redistribute these changes.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include <sys/param.h>
#include "stand.h"
diff --git a/lib/libstand/readdir.c b/lib/libstand/readdir.c
index f34dc88..e49d93d 100644
--- a/lib/libstand/readdir.c
+++ b/lib/libstand/readdir.c
@@ -22,10 +22,11 @@
* 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$
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include <sys/param.h>
#include "stand.h"
diff --git a/lib/libstand/rpc.c b/lib/libstand/rpc.c
index 9f0fa32..17f4362 100644
--- a/lib/libstand/rpc.c
+++ b/lib/libstand/rpc.c
@@ -39,6 +39,9 @@
* @(#) Header: rpc.c,v 1.12 93/09/28 08:31:56 leres Exp (LBL)
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
/*
* RPC functions used by NFS and bootparams.
* Note that bootparams requires the ability to find out the
diff --git a/lib/libstand/sbrk.c b/lib/libstand/sbrk.c
index 3263111..b6245f9 100644
--- a/lib/libstand/sbrk.c
+++ b/lib/libstand/sbrk.c
@@ -22,10 +22,11 @@
* 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$
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
/*
* Minimal sbrk() emulation required for malloc support.
*/
diff --git a/lib/libstand/stat.c b/lib/libstand/stat.c
index bdc97d5..8593281 100644
--- a/lib/libstand/stat.c
+++ b/lib/libstand/stat.c
@@ -35,6 +35,9 @@
* @(#)stat.c 8.1 (Berkeley) 6/11/93
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "stand.h"
int
diff --git a/lib/libstand/strcasecmp.c b/lib/libstand/strcasecmp.c
index 247484d..05b6c36 100644
--- a/lib/libstand/strcasecmp.c
+++ b/lib/libstand/strcasecmp.c
@@ -32,6 +32,9 @@
*/
#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
+#include <sys/cdefs.h>
#include <string.h>
#include "stand.h"
diff --git a/lib/libstand/strdup.c b/lib/libstand/strdup.c
index ee46e7d..2204d33 100644
--- a/lib/libstand/strdup.c
+++ b/lib/libstand/strdup.c
@@ -31,6 +31,9 @@
* SUCH DAMAGE.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)strdup.c 8.1 (Berkeley) 6/4/93";
#endif /* LIBC_SCCS and not lint */
diff --git a/lib/libstand/strerror.c b/lib/libstand/strerror.c
index e84a4d427..7c7f579 100644
--- a/lib/libstand/strerror.c
+++ b/lib/libstand/strerror.c
@@ -33,6 +33,9 @@
* SUCH DAMAGE.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "stand.h"
static struct
diff --git a/lib/libstand/strtol.c b/lib/libstand/strtol.c
index 02c5920..30c5cbb 100644
--- a/lib/libstand/strtol.c
+++ b/lib/libstand/strtol.c
@@ -31,6 +31,9 @@
* SUCH DAMAGE.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)strtol.c 8.1 (Berkeley) 6/4/93";
#endif /* LIBC_SCCS and not lint */
diff --git a/lib/libstand/tftp.c b/lib/libstand/tftp.c
index eb9b56f..e019010 100644
--- a/lib/libstand/tftp.c
+++ b/lib/libstand/tftp.c
@@ -29,10 +29,11 @@
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 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$
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
/*
* Simple TFTP implementation for libsa.
* Assumes:
diff --git a/lib/libstand/twiddle.c b/lib/libstand/twiddle.c
index 7a9a669..46bd895 100644
--- a/lib/libstand/twiddle.c
+++ b/lib/libstand/twiddle.c
@@ -36,9 +36,11 @@
* SUCH DAMAGE.
*
* @(#)subr_prf.c 8.3 (Berkeley) 1/21/94
- * $FreeBSD$
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include <sys/types.h>
#include "stand.h"
diff --git a/lib/libstand/udp.c b/lib/libstand/udp.c
index ffb0f70..4dbd795 100644
--- a/lib/libstand/udp.c
+++ b/lib/libstand/udp.c
@@ -37,9 +37,11 @@
* SUCH DAMAGE.
*
* @(#) Header: net.c,v 1.9 93/08/06 19:32:15 leres Exp (LBL)
- * $FreeBSD$
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include <sys/param.h>
#include <sys/socket.h>
diff --git a/lib/libstand/ufs.c b/lib/libstand/ufs.c
index 0db2393..c501fe9 100644
--- a/lib/libstand/ufs.c
+++ b/lib/libstand/ufs.c
@@ -1,4 +1,3 @@
-/* $FreeBSD$ */
/* $NetBSD: ufs.c,v 1.20 1998/03/01 07:15:39 ross Exp $ */
/*-
@@ -63,6 +62,9 @@
* rights to redistribute these changes.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
/*
* Stand-alone file reading package.
*/
diff --git a/lib/libstand/write.c b/lib/libstand/write.c
index 7c30926..022e770 100644
--- a/lib/libstand/write.c
+++ b/lib/libstand/write.c
@@ -64,6 +64,9 @@
* rights to redistribute these changes.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include <sys/param.h>
#include "stand.h"
diff --git a/lib/libstand/zalloc.c b/lib/libstand/zalloc.c
index 16a4163..e83fccb 100644
--- a/lib/libstand/zalloc.c
+++ b/lib/libstand/zalloc.c
@@ -25,10 +25,11 @@
* 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$
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
/*
* LIB/MEMORY/ZALLOC.C - self contained low-overhead memory pool/allocation
* subsystem
diff --git a/lib/libstand/zalloc_malloc.c b/lib/libstand/zalloc_malloc.c
index 83e5290..c1e9ab1 100644
--- a/lib/libstand/zalloc_malloc.c
+++ b/lib/libstand/zalloc_malloc.c
@@ -25,10 +25,11 @@
* 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$
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
/*
* MALLOC.C - malloc equivalent, runs on top of zalloc and uses sbrk
*/
diff --git a/lib/libstand/zipfs.c b/lib/libstand/zipfs.c
index c95621c..59034ff 100644
--- a/lib/libstand/zipfs.c
+++ b/lib/libstand/zipfs.c
@@ -22,11 +22,11 @@
* 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$
- *
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "stand.h"
#include <sys/stat.h>
OpenPOWER on IntegriCloud