From cab08b7e3fcbec061c12b842cf66a8e7d22b11d3 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 21 Apr 2017 16:48:09 +0200 Subject: Delete some more unused files --- strduptab.h | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 strduptab.h (limited to 'strduptab.h') diff --git a/strduptab.h b/strduptab.h deleted file mode 100644 index 2bbc67c..0000000 --- a/strduptab.h +++ /dev/null @@ -1,13 +0,0 @@ -/* save memory for constant strings by keeping a list of the ones that - * we already saw and not allocating memory for each new one. The only - * API is "add string and return pointer". Will try to insert the - * string in the table. If the same string was already there, it will - * return a pointer to that string, otherwise it will insert a copy of - * the new string. */ - -struct stringduptable { - size_t n,a; - const char** s; -}; - -const char* strduptab_add(struct stringduptable* t,const char* s); -- cgit v1.2.3-55-g7522