[5667] in Athena Bugs
7.1D Fixes for comerr lint library so it will be clean
daemon@ATHENA.MIT.EDU (epeisach@ATHENA.MIT.EDU)
Sun Aug 5 10:16:06 1990
From: epeisach@ATHENA.MIT.EDU
Date: Sun, 5 Aug 90 10:15:55 -0400
To: bugs@ATHENA.MIT.EDU
1) Don't use -p when generating lint library. (routine names with >6
characters is not portable, so why try?)
2) Include strings.h so that definition of strcpy is known.
When done, lint llib-com_err.ln should be clean
RCS file: RCS/Imakefile,v
retrieving revision 1.1
diff -c -r1.1 Imakefile
*** /tmp/,RCSt1004586 Sun Aug 5 10:10:25 1990
--- Imakefile Sun Aug 5 10:06:52 1990
***************
*** 9,20 ****
#
CFLAGS= -O
- #if defined(ultrix) && defined(mips)
- # The -p on the decmips causes memory faults.
LINTFLAGS=-uhvb
- #else
- LINTFLAGS= -uhvpb
- #endif
LINTFILES= error_message.c et_name.c init_et.c com_err.c # perror.c
LIBOBJS= error_message.o et_name.o init_et.o com_err.o # perror.o
--- 9,15 ----
===================================================================
RCS file: RCS/error_message.c,v
retrieving revision 1.1
diff -c -r1.1 error_message.c
*** /tmp/,RCSt1004586 Sun Aug 5 10:10:27 1990
--- error_message.c Sun Aug 5 10:09:11 1990
***************
*** 10,15 ****
--- 10,16 ----
*/
#include <stdio.h>
+ #include <strings.h>
#include "error_table.h"
#include "mit-sipb-copyright.h"
#include "internal.h"