summaryrefslogtreecommitdiff
path: root/sysklogd/logger.c
diff options
context:
space:
mode:
authorEric Andersen2000-11-14 23:29:24 +0000
committerEric Andersen2000-11-14 23:29:24 +0000
commit4e573f4729a2a6e2aeba56fcfc8ed4c1d41e83e9 (patch)
treee2f85528fc1e244b1a94ac64af0beac11c864dc1 /sysklogd/logger.c
parent8045c08e1c7af252b3b1e421a02fc0af4cdf957f (diff)
downloadbusybox-4e573f4729a2a6e2aeba56fcfc8ed4c1d41e83e9.zip
busybox-4e573f4729a2a6e2aeba56fcfc8ed4c1d41e83e9.tar.gz
Remove the BSD advertising clause, and replace it with a link to how
the advertising clause has been retroactivly declared null and void.
Diffstat (limited to 'sysklogd/logger.c')
-rw-r--r--sysklogd/logger.c43
1 files changed, 43 insertions, 0 deletions
diff --git a/sysklogd/logger.c b/sysklogd/logger.c
index bd9eed9..2c460cc 100644
--- a/sysklogd/logger.c
+++ b/sysklogd/logger.c
@@ -50,6 +50,8 @@ extern CODE facilitynames[];
* this function is based on code
* Copyright (c) 1983, 1993
* The Regents of the University of California. All rights reserved.
+ *
+ * Original copyright notice is retained at the end of this file.
*/
static int decode(char *name, CODE * codetab)
{
@@ -70,6 +72,8 @@ static int decode(char *name, CODE * codetab)
* this function is based on code
* Copyright (c) 1983, 1993
* The Regents of the University of California. All rights reserved.
+ *
+ * Original copyright notice is retained at the end of this file.
*/
static int pencode(char *s)
{
@@ -157,3 +161,42 @@ extern int logger_main(int argc, char **argv)
return EXIT_SUCCESS;
}
+
+
+/*-
+ * Copyright (c) 1983, 1993
+ * The Regents of the University of California. All rights reserved.
+ *
+ * This is the original license statement for the decode and pencode functions.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 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. <BSD Advertising Clause omitted per the July 22, 1999 licensing change
+ * ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change>
+ *
+ * 4. 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.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ */
+
+
+