Commit Graph

100 Commits

Author SHA1 Message Date
ad b23b64b8ce Use fmt string with printf, from OpenBSD. 2000-07-06 14:30:08 +00:00
thorpej d041b74cf4 Sprinkle in a little const. 2000-06-11 03:38:29 +00:00
mycroft 1c44e76f57 Initialize this->hits. 2000-06-11 03:36:40 +00:00
mycroft 2d75f971b4 Eliminate a bunch of terminal hackage that we do not need. 2000-04-27 16:48:42 +00:00
mycroft f5d7100e26 Nuke `extern int errno;' in code we compile with -Wstrict-prototypes. We get
the correct definition from errno.h.
2000-01-21 17:08:33 +00:00
soren 30d18a154c Remove extraneous colons and newlines from perror(3) arguments. 1999-09-30 12:35:52 +00:00
mrg ec70388809 add a comment 1999-08-24 09:16:36 +00:00
itohy 2b46b2b820 Eliminate illegal cast from function pointer (sig_t) to object pointer (void *). 1999-07-26 01:49:09 +00:00
wrstuden f61cc70c2c Make these files use bsd.hostprog.mk so you can cross-compile tn3270! 1999-07-14 21:36:36 +00:00
garbled 9e44e9b578 More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Many more to
come.
1999-03-22 18:16:34 +00:00
ross 7f8e818918 Missing .El. 1999-03-09 03:19:28 +00:00
itohy bd5b7e1a5d Add minimal dependency to make "make depend" optional
after cleandir even on parallel make.
1999-03-06 16:21:58 +00:00
lukem dcab0210a0 convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
christos b62bb45812 - prototype tgetstr()
- add decls for *SE, *SO, *SV for svr4
- initscr() should not be compared with ERR, but NULL, since it returns
  a window pointer.
1998-11-06 22:14:58 +00:00
christos dbc0627f1d use waitpid instead of wait3 1998-11-06 20:05:43 +00:00
christos 6eb7ceb840 char -> unsigned char 1998-11-06 20:03:08 +00:00
christos 501608c08c bcpy->memcpy, and don't trash memory if
hp->h_length is > sizeof(struct sockaddr_in);
1998-11-06 20:00:07 +00:00
lukem 457da2d26f remove -Dunix and #ifdef unix where it is only used to select
<strings.h>/b*() instead of <string.h>/mem*().
suggested by <Anders.Hjalmarsson@economics.gu.se>
1998-09-06 02:54:47 +00:00
lukem 72549586a8 distclean is a synonym for cleandir 1998-09-05 14:57:41 +00:00
lukem 211657f5fe -Dunix needed for tools 1998-09-05 11:30:08 +00:00
mycroft e683da3ba6 const poisoning. 1998-07-26 22:38:15 +00:00
msaitoh 4944940fcf Declare ints, too, don't default them. 1998-07-09 18:32:52 +00:00
mrg 32f519716b - use an array MAXHOSTNAMELEN+1 size to hold hostnames
- ensure hostname from gethostname() is nul-terminated in all cases
- minor KNF
- use MAXHOSTNAMELEN over various other values/defines
- be safe will buffers that hold hostnames
1998-07-06 06:56:06 +00:00
lukem 48f0a88e92 fix up Nm usage 1998-06-08 12:34:15 +00:00
enami 10a773225e When YYDEBUG is defined, return same value as when it is not defined (in
other words, act same except debugging code).
1998-05-07 05:26:35 +00:00
fair dc026e0515 Change occurrences of "UNIX" to .Ux or .At as appropriate. 1998-04-28 06:00:51 +00:00
veego 924ae4ad39 We don't need the extra make for mkhits.
The extra make would build mkhits again if you do a make clean.
1998-04-12 15:30:15 +00:00
tv 482063559a .y.c <sys.mk> rule fixes. Don't create a y.tab.h file unless asked for,
and use smarter creation of the header file.
1998-04-09 00:32:31 +00:00
tv 03caac8f9c fix a minor dependency problem on mkmake 1998-04-09 00:27:47 +00:00
tv 121c040638 -Wall: remove extraneous extern 1998-04-07 19:24:38 +00:00
cgd a36b788c3f For the record, (c = *string++) should _NOT_ be turned into
((c = *string++) != '0') when quashing warnings.
1998-04-04 01:02:09 +00:00
thorpej f96aa26b70 Fix types lossage on the Alpha. 1998-03-11 16:49:19 +00:00
thorpej a4bb51f3d2 Fix some type lossage on the Alpha. 1998-03-11 09:00:00 +00:00
christos 64c0f1d1f2 Remove declaration of htons 1998-03-10 13:49:55 +00:00
enami aaa7acea7c Fix typo; s/TMPFunc.out/TMPfunc.out/ 1998-03-10 09:52:41 +00:00
christos e06bafa12e make mkhits before making depend. 1998-03-10 08:28:21 +00:00
christos 861d065b3a Forgot to commit this one?!?! 1998-03-09 21:34:13 +00:00
christos 384f305f13 Fix a debugging macro 1998-03-06 18:11:53 +00:00
christos eae55ce3e5 oops... tyop 1998-03-04 13:44:48 +00:00
christos 2dbdac9937 - WARNSify
- add missing programs (mkmake, prt3270)
1998-03-04 13:16:04 +00:00
christos a4fe7ad4f6 Move them via repository copy to their own directories. 1998-03-04 13:05:00 +00:00
veego c541a8e0d7 Add CPPFLAGS+=-I${.CURDIR}/../../../lib for libtelnet/misc.h. 1998-02-28 12:38:58 +00:00
jtc 9a0063c6d6 Simply include -lcurses instead of -lcurses -ltermcap 1998-02-18 22:47:41 +00:00
thorpej 1ed9f7e142 Always include <string.h> for string prototypes. 1998-02-04 21:32:23 +00:00
thorpej c85905a814 Change a couple of exit()s to _exit(), so that they're safe for vfork(). 1997-12-31 06:12:20 +00:00
mycroft 7baf315b3c Nuke trailing comma in SEE ALSO section.
Also fix some other formatting glitches.
1997-11-01 06:25:29 +00:00
veego aea22d6b9c Don't use " inside an '.if exists()' 1997-10-24 12:14:57 +00:00
lukem 453cc6eead usr CPPFLAGS instead of CFLAGS, move common settings into Makefile.inc 1997-10-24 07:52:03 +00:00
mrg 4f4ba42ae8 disable WARNS here for now. 1997-10-20 03:35:06 +00:00
perry 4c79cc7435 fix 3884 from SAITOH Masanobu 1997-07-18 23:31:00 +00:00