libcs compiles with -ansi option now
FossilOrigin-Name: afeca48ac2e33dace533047329ea48224ee5e4bfd4e83449f335d0a022a67215
This commit is contained in:
@ -13,14 +13,6 @@ typedef struct avltree * cw_strheap_t;
|
||||
extern cw_strheap_t cw_strheap_create();
|
||||
extern int cw_strheap_register_strings(cw_strheap_t h, struct cw_strlist_elem *s);
|
||||
|
||||
static inline const char * cw_strheap_get(cw_strheap_t h, int id) {
|
||||
struct cw_strlist_elem s;
|
||||
s.id=id;
|
||||
struct cw_strlist_elem *r = avltree_get(h,&s);
|
||||
if (r)
|
||||
return r->str;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
const char * cw_strheap_get(cw_strheap_t h, int id);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user