From bcd57ac2f7ec0a8bf364d1422ac21b7bbc8d0ddd 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 . Reviewed-on: http://gerrit.openafs.org/10888 Reviewed-by: Jeffrey Altman Tested-by: Jeffrey Altman (cherry picked from commit 3f189f8fe8cbb52aac4b7b5fe767d0de481cb569) Change-Id: I11f878e4e4077bd242364810e1aaa473a36bc08c Reviewed-on: http://gerrit.openafs.org/10923 Tested-by: BuildBot Reviewed-by: Andrew Deason Reviewed-by: Stephan Wiesand --- 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 b90238a49..75c65d66f 100644 --- a/src/comerr/compile_et.c +++ b/src/comerr/compile_et.c @@ -30,11 +30,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 1f698a7c0..f19aa3f52 100644 --- a/src/comerr/error_msg.c +++ b/src/comerr/error_msg.c @@ -26,9 +26,6 @@ #include #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 = (struct et_list *)NULL; diff --git a/src/comerr/et_name.c b/src/comerr/et_name.c index 002217d82..958f3876a 100644 --- a/src/comerr/et_name.c +++ b/src/comerr/et_name.c @@ -13,11 +13,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