dholland
907fca1b3e
sprintf -> snprintf, plus some use of strlcpy/strlcat where appropriate
...
XXX: there's still one sprintf left which will take some hacking to expunge.
2009-06-07 20:13:18 +00:00
ginsbach
37a52c5f7b
Change getdate() to getdatestr() since the former maybe present on systems
...
supporting X/Open System Interfaces Extension (XSI) getdate() in <time.h>.
This prevents a function prototype conflict.
2009-05-06 02:59:12 +00:00
lukem
c6144e484f
fix -Wsign-compare issues
2009-01-18 00:24:29 +00:00
martin
ce099b4099
Remove clause 3 and 4 from TNF licenses
2008-04-28 20:22:51 +00:00
dholland
3c439f438f
Make hack build with WARNS=4.
2008-01-28 06:55:41 +00:00
jsm
cb5fd8342e
Remove uses of __P.
2004-01-27 20:30:28 +00:00
wiz
7fd8f3df3f
__STDC__ is always defined on NetBSD.
2002-05-26 00:12:11 +00:00
jsm
ab8b63434d
Make mostly gcc -W clean, and other cleanup:
...
Use const.
Add __noreturn__ attributes.
Add a __format__ attribute.
Add __unused__ attributes.
Use symbolic constants for open() and lseek().
Declare types of all function parameters; convert some function
definitions to ISO C form.
Ensure standard file descriptors are open on startup.
Check for errors writing output of makedefs.
Avoid duplicate definitions of variables.
2001-03-25 20:43:58 +00:00
christos
bc32159d26
fix redundant decls and nested externs. while I am here change my copyright
...
to TNF.
2001-02-05 00:37:43 +00:00
lukem
88d3d7c59e
update after change to return value of tputs() third argument
1999-10-04 23:26:59 +00:00
christos
3ea4a95c18
WARNsify...
1997-10-19 16:56:41 +00:00