summaryrefslogtreecommitdiffstats
path: root/usr.bin/vgrind/regexp.c
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2001-12-11 23:10:26 +0000
committermarkm <markm@FreeBSD.org>2001-12-11 23:10:26 +0000
commitc5cd5cd15638a4863a7d984e53cc1d94f243d5a3 (patch)
tree8cf01c89037da6c5693e4c5372a3d61836f184a9 /usr.bin/vgrind/regexp.c
parent7df3906a00167bbe45ed05a9feaa3166f79ceda1 (diff)
downloadFreeBSD-src-c5cd5cd15638a4863a7d984e53cc1d94f243d5a3.zip
FreeBSD-src-c5cd5cd15638a4863a7d984e53cc1d94f243d5a3.tar.gz
WARNS=2 fix, kill register keyword, use __FBSDID().
NO_WERROR set because of hard-to-fix warnings originating in system headers.
Diffstat (limited to 'usr.bin/vgrind/regexp.c')
-rw-r--r--usr.bin/vgrind/regexp.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/usr.bin/vgrind/regexp.c b/usr.bin/vgrind/regexp.c
index 476a548e..836f203 100644
--- a/usr.bin/vgrind/regexp.c
+++ b/usr.bin/vgrind/regexp.c
@@ -32,19 +32,24 @@
* SUCH DAMAGE.
*/
+#include <sys/cdefs.h>
+
+__FBSDID("$FreeBSD$");
+
#ifndef lint
-static char copyright[] =
+static const char copyright[] =
"@(#) Copyright (c) 1980, 1993\n\
The Regents of the University of California. All rights reserved.\n";
-#endif /* not lint */
+#endif
#ifndef lint
-static char sccsid[] = "@(#)regexp.c 8.1 (Berkeley) 6/6/93";
-#endif /* not lint */
+static const char sccsid[] = "@(#)regexp.c 8.1 (Berkeley) 6/6/93";
+#endif
#include <ctype.h>
#include <stdlib.h>
#include <string.h>
+
#include "extern.h"
#define FALSE 0
OpenPOWER on IntegriCloud