aboutsummaryrefslogtreecommitdiff
path: root/sys/boot
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2003-04-03 21:36:33 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2003-04-03 21:36:33 +0000
commit8368cf8f75949c1d998e41a4b98fc8d6db4332de (patch)
tree6ea4281e59072c649579ced46faa3cd8495197d4 /sys/boot
parent85fcc22cf65a382feb2f9a4e8b37552cff057088 (diff)
Notes
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/efi/libefi/copy.c6
-rw-r--r--sys/boot/efi/libefi/delay.c6
-rw-r--r--sys/boot/efi/libefi/efi_console.c6
-rw-r--r--sys/boot/efi/libefi/libefi.c6
-rw-r--r--sys/boot/efi/libefi/module.c6
-rw-r--r--sys/boot/efi/libefi/time.c6
-rw-r--r--sys/boot/efi/loader/conf.c6
-rw-r--r--sys/boot/efi/loader/main.c6
-rw-r--r--sys/boot/ia64/common/copy.c6
-rw-r--r--sys/boot/ia64/efi/conf.c6
-rw-r--r--sys/boot/ia64/efi/main.c6
-rw-r--r--sys/boot/ia64/libski/copy.c6
-rw-r--r--sys/boot/ia64/libski/delay.c6
-rw-r--r--sys/boot/ia64/libski/exit.c6
-rw-r--r--sys/boot/ia64/libski/module.c7
-rw-r--r--sys/boot/ia64/libski/skiconsole.c6
-rw-r--r--sys/boot/ia64/libski/time.c6
-rw-r--r--sys/boot/ia64/ski/conf.c5
-rw-r--r--sys/boot/ia64/ski/copy.c6
-rw-r--r--sys/boot/ia64/ski/delay.c6
-rw-r--r--sys/boot/ia64/ski/exit.c6
-rw-r--r--sys/boot/ia64/ski/main.c6
-rw-r--r--sys/boot/ia64/ski/skiconsole.c6
-rw-r--r--sys/boot/ia64/ski/time.c6
-rw-r--r--sys/boot/ia64/skiload/conf.c5
-rw-r--r--sys/boot/ia64/skiload/main.c6
26 files changed, 53 insertions, 102 deletions
diff --git a/sys/boot/efi/libefi/copy.c b/sys/boot/efi/libefi/copy.c
index be1fcef1d1b6..7bc4edf7e15c 100644
--- a/sys/boot/efi/libefi/copy.c
+++ b/sys/boot/efi/libefi/copy.c
@@ -24,10 +24,8 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
/*
* MD primitives supporting placement of module data
diff --git a/sys/boot/efi/libefi/delay.c b/sys/boot/efi/libefi/delay.c
index 2a5b98b6c002..723f681c5286 100644
--- a/sys/boot/efi/libefi/delay.c
+++ b/sys/boot/efi/libefi/delay.c
@@ -24,10 +24,8 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <efi.h>
#include <efilib.h>
diff --git a/sys/boot/efi/libefi/efi_console.c b/sys/boot/efi/libefi/efi_console.c
index 254ef0dad6f4..c88462eb59c3 100644
--- a/sys/boot/efi/libefi/efi_console.c
+++ b/sys/boot/efi/libefi/efi_console.c
@@ -24,10 +24,8 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <efi.h>
#include <efilib.h>
diff --git a/sys/boot/efi/libefi/libefi.c b/sys/boot/efi/libefi/libefi.c
index abfa6a8265ac..563b533ab232 100644
--- a/sys/boot/efi/libefi/libefi.c
+++ b/sys/boot/efi/libefi/libefi.c
@@ -24,10 +24,8 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <efi.h>
#include <efilib.h>
diff --git a/sys/boot/efi/libefi/module.c b/sys/boot/efi/libefi/module.c
index 6c07e2863a53..7a3f4b2f1719 100644
--- a/sys/boot/efi/libefi/module.c
+++ b/sys/boot/efi/libefi/module.c
@@ -24,10 +24,8 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <stand.h>
diff --git a/sys/boot/efi/libefi/time.c b/sys/boot/efi/libefi/time.c
index 27192de7ab6f..3ca456e22b9b 100644
--- a/sys/boot/efi/libefi/time.c
+++ b/sys/boot/efi/libefi/time.c
@@ -38,10 +38,8 @@
*
*/
-#ifndef lint
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <efi.h>
#include <efilib.h>
diff --git a/sys/boot/efi/loader/conf.c b/sys/boot/efi/loader/conf.c
index 0e5407c77c27..145b16b86115 100644
--- a/sys/boot/efi/loader/conf.c
+++ b/sys/boot/efi/loader/conf.c
@@ -31,10 +31,8 @@
* $NetBSD: conf.c,v 1.2 1997/03/22 09:03:29 thorpej Exp $
*/
-#ifndef lint
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <stand.h>
#include <efi.h>
diff --git a/sys/boot/efi/loader/main.c b/sys/boot/efi/loader/main.c
index bc1c044c96eb..58b962036677 100644
--- a/sys/boot/efi/loader/main.c
+++ b/sys/boot/efi/loader/main.c
@@ -25,10 +25,8 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <stand.h>
#include <string.h>
diff --git a/sys/boot/ia64/common/copy.c b/sys/boot/ia64/common/copy.c
index be1fcef1d1b6..7bc4edf7e15c 100644
--- a/sys/boot/ia64/common/copy.c
+++ b/sys/boot/ia64/common/copy.c
@@ -24,10 +24,8 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
/*
* MD primitives supporting placement of module data
diff --git a/sys/boot/ia64/efi/conf.c b/sys/boot/ia64/efi/conf.c
index 0e5407c77c27..145b16b86115 100644
--- a/sys/boot/ia64/efi/conf.c
+++ b/sys/boot/ia64/efi/conf.c
@@ -31,10 +31,8 @@
* $NetBSD: conf.c,v 1.2 1997/03/22 09:03:29 thorpej Exp $
*/
-#ifndef lint
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <stand.h>
#include <efi.h>
diff --git a/sys/boot/ia64/efi/main.c b/sys/boot/ia64/efi/main.c
index bc1c044c96eb..58b962036677 100644
--- a/sys/boot/ia64/efi/main.c
+++ b/sys/boot/ia64/efi/main.c
@@ -25,10 +25,8 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <stand.h>
#include <string.h>
diff --git a/sys/boot/ia64/libski/copy.c b/sys/boot/ia64/libski/copy.c
index d5c0623d6c6e..d86537a14099 100644
--- a/sys/boot/ia64/libski/copy.c
+++ b/sys/boot/ia64/libski/copy.c
@@ -24,10 +24,8 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
/*
* MD primitives supporting placement of module data
diff --git a/sys/boot/ia64/libski/delay.c b/sys/boot/ia64/libski/delay.c
index b4e9dff93931..2389603edb4a 100644
--- a/sys/boot/ia64/libski/delay.c
+++ b/sys/boot/ia64/libski/delay.c
@@ -24,10 +24,8 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
void
delay(int usecs)
diff --git a/sys/boot/ia64/libski/exit.c b/sys/boot/ia64/libski/exit.c
index 56485800b8e1..aeac67c49341 100644
--- a/sys/boot/ia64/libski/exit.c
+++ b/sys/boot/ia64/libski/exit.c
@@ -24,10 +24,8 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/param.h>
#include <sys/time.h>
diff --git a/sys/boot/ia64/libski/module.c b/sys/boot/ia64/libski/module.c
index 596add7615b2..0e77cfe24b58 100644
--- a/sys/boot/ia64/libski/module.c
+++ b/sys/boot/ia64/libski/module.c
@@ -24,10 +24,9 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
+
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <stand.h>
diff --git a/sys/boot/ia64/libski/skiconsole.c b/sys/boot/ia64/libski/skiconsole.c
index 5038ce1d4bc3..e5cea3dc9936 100644
--- a/sys/boot/ia64/libski/skiconsole.c
+++ b/sys/boot/ia64/libski/skiconsole.c
@@ -24,10 +24,8 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <stand.h>
diff --git a/sys/boot/ia64/libski/time.c b/sys/boot/ia64/libski/time.c
index 7e498860509b..b682c2d3018a 100644
--- a/sys/boot/ia64/libski/time.c
+++ b/sys/boot/ia64/libski/time.c
@@ -38,10 +38,8 @@
*
*/
-#ifndef lint
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <time.h>
#include <sys/time.h>
diff --git a/sys/boot/ia64/ski/conf.c b/sys/boot/ia64/ski/conf.c
index 6db907c994d6..3fe58f84a0c5 100644
--- a/sys/boot/ia64/ski/conf.c
+++ b/sys/boot/ia64/ski/conf.c
@@ -31,10 +31,9 @@
* $NetBSD: conf.c,v 1.2 1997/03/22 09:03:29 thorpej Exp $
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#ifndef lint
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
#include <stand.h>
diff --git a/sys/boot/ia64/ski/copy.c b/sys/boot/ia64/ski/copy.c
index d5c0623d6c6e..d86537a14099 100644
--- a/sys/boot/ia64/ski/copy.c
+++ b/sys/boot/ia64/ski/copy.c
@@ -24,10 +24,8 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
/*
* MD primitives supporting placement of module data
diff --git a/sys/boot/ia64/ski/delay.c b/sys/boot/ia64/ski/delay.c
index b4e9dff93931..2389603edb4a 100644
--- a/sys/boot/ia64/ski/delay.c
+++ b/sys/boot/ia64/ski/delay.c
@@ -24,10 +24,8 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
void
delay(int usecs)
diff --git a/sys/boot/ia64/ski/exit.c b/sys/boot/ia64/ski/exit.c
index 56485800b8e1..aeac67c49341 100644
--- a/sys/boot/ia64/ski/exit.c
+++ b/sys/boot/ia64/ski/exit.c
@@ -24,10 +24,8 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/param.h>
#include <sys/time.h>
diff --git a/sys/boot/ia64/ski/main.c b/sys/boot/ia64/ski/main.c
index cd3c479690d2..c4b22250a863 100644
--- a/sys/boot/ia64/ski/main.c
+++ b/sys/boot/ia64/ski/main.c
@@ -25,10 +25,8 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <stand.h>
#include <string.h>
diff --git a/sys/boot/ia64/ski/skiconsole.c b/sys/boot/ia64/ski/skiconsole.c
index 5038ce1d4bc3..e5cea3dc9936 100644
--- a/sys/boot/ia64/ski/skiconsole.c
+++ b/sys/boot/ia64/ski/skiconsole.c
@@ -24,10 +24,8 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <stand.h>
diff --git a/sys/boot/ia64/ski/time.c b/sys/boot/ia64/ski/time.c
index 7e498860509b..b682c2d3018a 100644
--- a/sys/boot/ia64/ski/time.c
+++ b/sys/boot/ia64/ski/time.c
@@ -38,10 +38,8 @@
*
*/
-#ifndef lint
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <time.h>
#include <sys/time.h>
diff --git a/sys/boot/ia64/skiload/conf.c b/sys/boot/ia64/skiload/conf.c
index 6db907c994d6..3fe58f84a0c5 100644
--- a/sys/boot/ia64/skiload/conf.c
+++ b/sys/boot/ia64/skiload/conf.c
@@ -31,10 +31,9 @@
* $NetBSD: conf.c,v 1.2 1997/03/22 09:03:29 thorpej Exp $
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#ifndef lint
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
#include <stand.h>
diff --git a/sys/boot/ia64/skiload/main.c b/sys/boot/ia64/skiload/main.c
index cd3c479690d2..c4b22250a863 100644
--- a/sys/boot/ia64/skiload/main.c
+++ b/sys/boot/ia64/skiload/main.c
@@ -25,10 +25,8 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <stand.h>
#include <string.h>