]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Remove static const char copyright[]
authorBenjamin Kaduk <kaduk@mit.edu>
Thu, 13 Mar 2014 19:30:42 +0000 (15:30 -0400)
committerStephan Wiesand <stephan.wiesand@desy.de>
Wed, 26 Mar 2014 20:13:17 +0000 (13:13 -0700)
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 <jaltman@your-file-system.com>
Tested-by: Jeffrey Altman <jaltman@your-file-system.com>
(cherry picked from commit 3f189f8fe8cbb52aac4b7b5fe767d0de481cb569)

Change-Id: I11f878e4e4077bd242364810e1aaa473a36bc08c
Reviewed-on: http://gerrit.openafs.org/10923
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/comerr/compile_et.c
src/comerr/error_msg.c
src/comerr/et_name.c

index b90238a4987c998f4c74a055235c2dc1afda1dd8..75c65d66f522d1b8ddbd92e08cfbb537687f239b 100644 (file)
 #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];
index 1f698a7c01be64bbd30129375c742a870ee26131..f19aa3f52e7db0b4490f52a0147b4f7894bcd315 100644 (file)
@@ -26,9 +26,6 @@
 #include <string.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 = (struct et_list *)NULL;
index 002217d825c376164d6366af33cdd2914e5366d3..958f3876a429c7fa03c57d74d6fbadfb6fbdd845 100644 (file)
 #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_";