From 2fca59d9fd6a6c2240ce715d010995c614836999 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 16 Jul 2017 15:17:39 -0400 Subject: [PATCH] Information hiding. --- advent.h | 1 - misc.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/advent.h b/advent.h index b9f24fe..62d3696 100644 --- a/advent.h +++ b/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, ...); diff --git a/misc.c b/misc.c index c4dc351..f3b0f3d 100644 --- a/misc.c +++ b/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) -- 2.31.1