diff options
author | obrien <obrien@FreeBSD.org> | 2003-05-03 21:06:42 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2003-05-03 21:06:42 +0000 |
commit | 7293a24a2b093fcb82ba80e14cb33ff03e2e24e8 (patch) | |
tree | f908d178ab0f2ab51334f4e63465f30c284a3a41 /usr.sbin/sa | |
parent | bc6b9b68d5f38a2f90f272ea6a2abd6add012a7d (diff) | |
download | FreeBSD-src-7293a24a2b093fcb82ba80e14cb33ff03e2e24e8.zip FreeBSD-src-7293a24a2b093fcb82ba80e14cb33ff03e2e24e8.tar.gz |
Use __FBSDID over rcsid[]. Protect copyright[] where needed.
Diffstat (limited to 'usr.sbin/sa')
-rw-r--r-- | usr.sbin/sa/main.c | 9 | ||||
-rw-r--r-- | usr.sbin/sa/pdb.c | 6 | ||||
-rw-r--r-- | usr.sbin/sa/usrdb.c | 6 |
3 files changed, 8 insertions, 13 deletions
diff --git a/usr.sbin/sa/main.c b/usr.sbin/sa/main.c index 1910c4f..2fde380 100644 --- a/usr.sbin/sa/main.c +++ b/usr.sbin/sa/main.c @@ -28,16 +28,15 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#if 0 #ifndef lint static const char copyright[] = "@(#) Copyright (c) 1994 Christopher G. Demetriou\n\ All rights reserved.\n"; #endif - -#ifndef lint -static const char rcsid[] = - "$FreeBSD$"; -#endif /* not lint */ +#endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); /* * sa: system accounting diff --git a/usr.sbin/sa/pdb.c b/usr.sbin/sa/pdb.c index 423bf9e..e82f973 100644 --- a/usr.sbin/sa/pdb.c +++ b/usr.sbin/sa/pdb.c @@ -28,10 +28,8 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef lint -static const char rcsid[] = - "$FreeBSD$"; -#endif /* not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <sys/types.h> #include <sys/acct.h> diff --git a/usr.sbin/sa/usrdb.c b/usr.sbin/sa/usrdb.c index d4ed500..d2f739d 100644 --- a/usr.sbin/sa/usrdb.c +++ b/usr.sbin/sa/usrdb.c @@ -28,10 +28,8 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef lint -static const char rcsid[] = - "$FreeBSD$"; -#endif /* not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/types.h> |