| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
that conflicted with libc. We changed them to lgetchar() and xputchar()
respectively; larn 12.2 changed them to ttgetch() and ttputch(). After
reflecting on this for a while I've decided to adopt the larn 12.2
names; not so much for compatibility but for consistency going forward.
So, massrename them. Also make ttputch() static.
|
|
|
| |
Also, remove the function gettokstr(), which is not used. From larn 12.2.
|
| |
|
|
|
|
| |
(which is crappy and should be removed, but that's for another day...)
This way e.g. fortune cookies no longer appear always in the same order.
|
| |
|
|
|
|
| |
had its own private and not-quite-standard implementation of printf.
Remove it surgically with a chainsaw.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
number generator.
Unfortunately, it conflicted with a function of the same defined in
stdlib.h. This was masked by the __P hack, which is now being purged.
I've renamed "srand" to "seedrand" to eliminate the conflict.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Make sure that each va_start has one and only one matching va_end,
especially in error cases.
If the va_list is used multiple times, do multiple va_starts/va_ends.
If a function gets va_list as argument, don't let it use va_end (since
it's the callers responsibility).
Improved by comments from enami and christos -- thanks!
Heimdal/krb4/KAME changes already fed back, rest to follow.
Inspired by, but not not based on, OpenBSD.
|
|
|
|
| |
- fix redundant decls and nested externs
- use snprintf instead of sprintf
|
| |
|
| |
|
| |
|
|
|
| |
Games is almost clean; only hack is left...
|
| |
|
| |
|
|
|
|
| |
Include appropriate includes, delete bogus function declarations,
change sizes of variables and casts.
|
| |
|
|
|
| |
headers, and a few other insignificant changes.
|
|
|