summaryrefslogtreecommitdiffstats
path: root/hack/extern.h
Commit message (Collapse)AuthorAgeFilesLines
* games: remove trailing whitespace in *.c and *.hrillig2021-05-051-2/+2
|
* Mark error() as dead, so that validation for setclipped works correctly.joerg2011-08-271-2/+2
|
* Use __dead and __printflike instead of __attribute__.dholland2011-08-261-14/+9
|
* Use the right type for the malloc wrapper function, and don't cast thedholland2011-08-061-2/+2
| | | | | | | | return value. (XXX: Except for a pile of allocation macros that produce typed pointer results; there the typechecking of the result assignment is more valuable than the warning if the alloc function isn't declared properly. These macros should go away.)
* Remove silly casts.dholland2011-08-061-2/+2
|
* Use consistent sign in compare, the function is only called withjoerg2011-05-301-2/+2
| | | constants as third argument anyway.
* Userland now builds and uses terminfo instead of termcap.roy2010-02-031-6/+6
| | | OK: core@, jdc@
* sprinkle staticdholland2009-08-121-118/+2
|
* sprintf -> snprintf, plus some use of strlcpy/strlcat where appropriatedholland2009-06-071-2/+2
| | | XXX: there's still one sprintf left which will take some hacking to expunge.
* Change getdate() to getdatestr() since the former maybe present on systemsginsbach2009-05-061-2/+2
| | | | supporting X/Open System Interfaces Extension (XSI) getdate() in <time.h>. This prevents a function prototype conflict.
* fix -Wsign-compare issueslukem2009-01-181-2/+2
|
* Remove clause 3 and 4 from TNF licensesmartin2008-04-281-8/+1
|
* Make hack build with WARNS=4.dholland2008-01-281-2/+2
|
* Remove uses of __P.jsm2004-01-271-503/+503
|
* __STDC__ is always defined on NetBSD.wiz2002-05-261-6/+2
|
* Make mostly gcc -W clean, and other cleanup:jsm2001-03-251-42/+43
| | | | | | | | | | | | 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.
* fix redundant decls and nested externs. while I am here change my copyrightchristos2001-02-051-28/+23
| | | to TNF.
* update after change to return value of tputs() third argumentlukem1999-10-041-2/+2
|
* WARNsify...christos1997-10-191-0/+676