projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cover MISSING_BATTERIES in a test. Needs unducumented "waste" fallback.
[open-adventure.git]
/
misc.c
diff --git
a/misc.c
b/misc.c
index 756e5cbfb223a443d3909fe4d3025b199bc3cb55..f3b0f3dcf33675cf166e45d50689d42064bade2a 100644
(file)
--- a/
misc.c
+++ b/
misc.c
@@
-128,11
+128,6
@@
void tokenize(char* raw, struct command_t *cmd)
/* Hide the fact that wods are corrently packed longs */
/* Hide the fact that wods are corrently packed longs */
-bool wordempty(token_t a)
-{
- return a == 0;
-}
-
void wordclear(token_t *v)
{
*v = 0;
void wordclear(token_t *v)
{
*v = 0;
@@
-140,7
+135,7
@@
void wordclear(token_t *v)
/* I/O routines (speak, pspeak, rspeak, sspeak, get_input, yes) */
/* I/O routines (speak, pspeak, rspeak, sspeak, get_input, yes) */
-void vspeak(const char* msg, bool blank, va_list ap)
+
static
void vspeak(const char* msg, bool blank, va_list ap)
{
// Do nothing if we got a null pointer.
if (msg == NULL)
{
// Do nothing if we got a null pointer.
if (msg == NULL)