Information hiding.
This commit is contained in:
parent
7a542633e5
commit
2fca59d9fd
2 changed files with 1 additions and 2 deletions
1
advent.h
1
advent.h
|
@ -206,7 +206,6 @@ extern struct settings_t settings;
|
|||
extern void packed_to_token(long, char token[]);
|
||||
extern long token_to_packed(const char token[]);
|
||||
extern void tokenize(char*, struct command_t *);
|
||||
extern void vspeak(const char*, bool, va_list);
|
||||
extern void wordclear(token_t *);
|
||||
extern void speak(const char*, ...);
|
||||
extern void sspeak(long msg, ...);
|
||||
|
|
2
misc.c
2
misc.c
|
@ -135,7 +135,7 @@ void wordclear(token_t *v)
|
|||
|
||||
/* 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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue