Commit Graph

9 Commits

Author SHA1 Message Date
Tim J. Robbins
7bd73b069c Use warn() instead of perror(). 2004-07-15 04:45:24 +00:00
Tim J. Robbins
aa8e31e68c Close files after opening them to avoiding leaking descriptors and memory. 2003-06-01 06:15:30 +00:00
David Malone
412f8d5a03 ANSIify function definitions to avoid a warning.
Minor constness changes.
2002-07-28 14:55:59 +00:00
Warner Losh
f1bb2cd2aa remove __P 2002-03-22 01:22:50 +00:00
David Malone
2e30d3b13c 1) Don't use -Wall in Makefile.
2) Don't compile vendor ID.
3) WARNS=4 fixes (constness, make a global local to avoid shadowing, unused
   parameters, rename local to avoid shadowing, remove junk after #endif)
4) remove some "register"s.
2002-02-27 15:49:07 +00:00
Archie Cobbs
fa146c5335 Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]). 1998-12-06 22:58:23 +00:00
Philippe Charnier
cc42f59889 Add prototypes to functions. Make -Wall happy. 1997-06-24 06:54:43 +00:00
Satoshi Asami
67c347acbd Terminate string copied by strncpy() by '\0' to fix a core dump.
Submitted by:	kogane@kces.koganemaru.co.jp (Nobuyuki Koganemaru)
1995-06-30 04:59:44 +00:00
Rodney W. Grimes
9b50d90275 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00