summary refs log tree commit diff
path: root/src/mksyntax.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mksyntax.c')
-rw-r--r--src/mksyntax.c26
1 files changed, 3 insertions, 23 deletions
diff --git a/src/mksyntax.c b/src/mksyntax.c
index 83b8192..5e65bdd 100644
--- a/src/mksyntax.c
+++ b/src/mksyntax.c
@@ -1,8 +1,8 @@
-/*	$NetBSD: mksyntax.c,v 1.27 2003/01/12 20:26:53 christos Exp $	*/
-
 /*-
  * Copyright (c) 1991, 1993
  *	The Regents of the University of California.  All rights reserved.
+ * Copyright (c) 1997-2005
+ *	Herbert Xu <herbert@gondor.apana.org.au>.  All rights reserved.
  *
  * This code is derived from software contributed to Berkeley by
  * Kenneth Almquist.
@@ -15,11 +15,7 @@
  * 2. Redistributions in binary form must reproduce the above copyright
  *    notice, this list of conditions and the following disclaimer in the
  *    documentation and/or other materials provided with the distribution.
- * 3. All advertising materials mentioning features or use of this software
- *    must display the following acknowledgement:
- *	This product includes software developed by the University of
- *	California, Berkeley and its contributors.
- * 4. Neither the name of the University nor the names of its contributors
+ * 3. Neither the name of the University nor the names of its contributors
  *    may be used to endorse or promote products derived from this software
  *    without specific prior written permission.
  *
@@ -36,21 +32,6 @@
  * SUCH DAMAGE.
  */
 
-#ifndef lint
-static const char copyright[] =
-    "@(#) Copyright (c) 1991, 1993\n\
-	The Regents of the University of California.  All rights reserved.\n";
-#endif /* not lint */
-
-#ifndef lint
-#if 0
-static char sccsid[] = "@(#)mksyntax.c	8.2 (Berkeley) 5/4/95";
-#else
-static const char rcsid[] =
-    "$NetBSD: mksyntax.c,v 1.27 2003/01/12 20:26:53 christos Exp $";
-#endif
-#endif /* not lint */
-
 /*
  * This program creates syntax.h and syntax.c.
  */
@@ -178,7 +159,6 @@ main(int argc, char **argv)
 			digit_contig = 0;
 	}
 
-	fputs("#include <sys/cdefs.h>\n", hfile);
 	fputs("#include <ctype.h>\n", hfile);
 	fputs("\n", hfile);
 	fputs("#ifdef CEOF\n", hfile);