summary refs log tree commit diff
path: root/src/mknodes.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2005-10-29 11:26:30 +1000
committerHerbert Xu <herbert@gondor.apana.org.au>2005-10-29 11:26:30 +1000
commit16399b907190e556d56e54eecd1121d13d124811 (patch)
tree6015d732531031ae15ac185d561bb6d4d82aac39 /src/mknodes.c
parent[INPUT] Size optimisations in preadbuffer() (diff)
downloaddash-16399b907190e556d56e54eecd1121d13d124811.tar.gz
dash-16399b907190e556d56e54eecd1121d13d124811.zip
Copyright/licence updates and remove all traces of sys/cdefs.h
This change updates the BSD licence to the three-clause version since
NetBSD has already done so.  This makes dash GPL-compatible.

It also adds Christos Zoulas (NetBSD ash maintainer) to the COPYING file.
I've added "copyright by Herbert Xu" to most files.

Finally all CVS IDs and inclusion of sys/cdefs.h have been removed.
The latter is needed for support of klibc.
Diffstat (limited to 'src/mknodes.c')
-rw-r--r--src/mknodes.c25
1 files changed, 3 insertions, 22 deletions
diff --git a/src/mknodes.c b/src/mknodes.c
index b3b2983..1903a60 100644
--- a/src/mknodes.c
+++ b/src/mknodes.c
@@ -1,8 +1,8 @@
-/*	$NetBSD: mknodes.c,v 1.21 2002/11/24 22:35:41 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[] = "@(#)mknodes.c	8.2 (Berkeley) 5/4/95";
-#else
-static const char rcsid[] =
-    "$NetBSD: mknodes.c,v 1.21 2002/11/24 22:35:41 christos Exp $";
-#endif
-#endif /* not lint */
-
 /*
  * This program reads the nodetypes file and nodes.c.pat file.  It generates
  * the files nodes.h and nodes.c.