X-Git-Url: http://git.madism.org/?a=blobdiff_plain;ds=sidebyside;f=postlicyd%2Fquery.h;fp=postlicyd%2Fquery.h;h=86e41ba1072e85e27e5509056bf8892078c3cf60;hb=ae0c2eb5d2ea501fd9e458fc138696c268a14569;hp=87ee01e814df299be1750a6accb06616af37b5c2;hpb=a195f9a648c32226b3b2ec4bb44a69a44ff5e51d;p=apps%2Fpfixtools.git diff --git a/postlicyd/query.h b/postlicyd/query.h index 87ee01e..86e41ba 100644 --- a/postlicyd/query.h +++ b/postlicyd/query.h @@ -94,18 +94,6 @@ typedef struct query_t { const char *eoq; } query_t; -static inline query_t *query_new(void) -{ - return p_new(query_t, 1); -} - -static inline void query_delete(query_t **query) -{ - if (*query) { - p_delete(query); - } -} - /** Parse the content of the text to fill the query. * The text pointed by \p p is segmented (and modified to add * a \0 at the end of each segment) and used to fill the query