Commit Graph

17 Commits

Author SHA1 Message Date
christos 23bb393e6b fix nested extern 2001-02-05 02:09:37 +00:00
drochner 85cbf55d16 Since our gcc doesn't warn about NULL format strings anymore, we can
fix the incorrect err(1, "%s", "") et al.
Closes PR bin/7592 by cgd.
1999-11-09 15:06:30 +00:00
christos 9794a7e065 char -> unsigned char 1998-12-19 16:37:28 +00:00
christos 26d6865f8e Remove __GNUC__ ifdef, and make usage string consistent with other programs. 1998-01-31 20:42:07 +00:00
kleink 226c774dba * When opening a file fails, just issue a warning; convert to appropriate
use of the err(3) function; from NAKAJIMA Yoshihiro in PR bin/4870.
* Initialize native locale environment on startup.
* Since strtol() is used to convert the number of lines to be printed,
  make linecnt and assorted variables `long's, and perform range checks
  on it.
1998-01-27 17:00:19 +00:00
lukem 78a738b31b use err.h for err() prototype, deprecate register, fix .Nm usage 1997-10-19 02:23:41 +00:00
mrg 3ac0787450 merge lite-2; also WARNSify the 2 warnings left. 1997-10-18 13:15:18 +00:00
tls 9d225a1783 RCS ID police 1997-01-09 20:18:21 +00:00
jtc 2ddbb97f0f #include <unistd.h>, so getopt(), optarg, opterr, optind, and optopt
declarations can be removed from <stdlib.h>.
1993-10-13 18:33:45 +00:00
jtc 6db5d071a8 Document the fact that head is POSIX.2 compliant. 1993-08-28 04:34:32 +00:00
jtc f7c6bf575a Minor tweaks: including header files to bring prototypes into scope,
explicitly declaring function return values, etc. to make gcc -Wall
shut up.
1993-08-27 22:30:10 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft c3e42d1c64 Add RCS indentifiers. 1993-08-01 07:22:47 +00:00
mycroft 690cae8181 Add RCS indentifiers. 1993-07-31 15:17:49 +00:00
jtc aab7593a78 Make POSIX 1003.2 (Draft 11.2) compliant. 1993-07-15 17:05:00 +00:00
mrg c78c6a22ab 4.4BSD-Lite2 1993-06-06 20:58:02 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00