Simplify tokenization code.

This commit is contained in:
Eric S. Raymond 2017-07-03 17:13:28 -04:00
parent 393010ec41
commit 4b51b06b73
2 changed files with 7 additions and 23 deletions

View file

@ -192,7 +192,7 @@ extern struct settings_t settings;
extern char* xstrdup(const char* s);
extern void* xmalloc(size_t size);
extern void packed_to_token(long, char token[]);
extern long token_to_packed(const char token[TOKLEN+1]);
extern long token_to_packed(const char token[]);
extern void tokenize(char*, struct command_t *);
extern void vspeak(const char*, bool, va_list);
extern bool wordeq(token_t, token_t);