From 3f189f8fe8cbb52aac4b7b5fe767d0de481cb569 Mon Sep 17 00:00:00 2001 From: Benjamin Kaduk Date: Thu, 13 Mar 2014 15:30:42 -0400 Subject: [PATCH] Remove static const char copyright[] We do not have copyright strings in our other executables for the other copyright statements applicable to them, so these are rather exceptional. They also cause build failures with OS X Xcode 5.1 and --enable-checking . Change-Id: I0ead56387f77459a49093ff66fdea9c033f02f5a Reviewed-on: http://gerrit.openafs.org/10888 Reviewed-by: Jeffrey Altman Tested-by: Jeffrey Altman --- src/comerr/compile_et.c | 5 ----- src/comerr/error_msg.c | 3 --- src/comerr/et_name.c | 5 ----- 3 files changed, 13 deletions(-) diff --git a/src/comerr/compile_et.c b/src/comerr/compile_et.c index 3f3f02da9..184d7b4bf 100644 --- a/src/comerr/compile_et.c +++ b/src/comerr/compile_et.c @@ -18,11 +18,6 @@ #include "internal.h" #include "compiler.h" -#ifndef lint -static const char copyright[] = - "Copyright 1987,1988 by MIT Student Information Processing Board"; -#endif - extern char *current_token; extern int table_number, current; char buffer[BUFSIZ]; diff --git a/src/comerr/error_msg.c b/src/comerr/error_msg.c index c5f6d02ed..3c611096d 100644 --- a/src/comerr/error_msg.c +++ b/src/comerr/error_msg.c @@ -28,9 +28,6 @@ #include "mit-sipb-cr.h" #include "com_err.h" -static const char copyright[] = - "Copyright 1986, 1987, 1988 by the Student Information Processing Board\nand the department of Information Systems\nof the Massachusetts Institute of Technology"; - static char buffer[64]; static struct et_list *_et_list = NULL; diff --git a/src/comerr/et_name.c b/src/comerr/et_name.c index 81d326b25..8e8791849 100644 --- a/src/comerr/et_name.c +++ b/src/comerr/et_name.c @@ -15,11 +15,6 @@ #include "mit-sipb-cr.h" #include "internal.h" -#ifndef lint -static const char copyright[] = - "Copyright 1987,1988 by Student Information Processing Board, Massachusetts Institute of Technology"; -#endif - static const char char_set[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_"; -- 2.39.5