X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=blobdiff_plain;f=advent.h;h=d34310663c8f148a4efb7882862249c91b04e789;hp=f831a7b487d8a472bf00ca6748790e05374961e4;hb=ca0e04295298397a0b4cfe41a8801f0226cea5d4;hpb=a044f10411cac5c530a19a66b7252110d5d1ca0f diff --git a/advent.h b/advent.h index f831a7b..d343106 100644 --- a/advent.h +++ b/advent.h @@ -87,6 +87,7 @@ extern lcg_state lcgstate; #define READ_MODE "rb" #define WRITE_MODE "wb" extern void* xmalloc(size_t); +extern char* xstrdup(const char*); extern void packed_to_token(long, char token[6]); extern void newspeak(char*); extern void PSPEAK(vocab_t,int);