]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/regex.h
tableprinter: code cleanup
[libucw.git] / ucw / regex.h
index 584d70cc2f0a20c5fdab5b366944b1b8d4923312..992988974b89bc52b08dc90674e962d8b85db5b1 100644 (file)
 #ifndef _UCW_REGEX_H
 #define _UCW_REGEX_H
 
+#ifdef CONFIG_UCW_CLEAN_ABI
+#define rx_compile ucw_rx_compile
+#define rx_free ucw_rx_free
+#define rx_match ucw_rx_match
+#define rx_subst ucw_rx_subst
+#endif
+
 typedef struct regex regex;
 
 regex *rx_compile(const char *r, int icase);
 void rx_free(regex *r);
 int rx_match(regex *r, const char *s);
-int rx_subst(regex *r, const char *by, const char *src, char *dest, uns destlen);
+int rx_subst(regex *r, const char *by, const char *src, char *dest, uint destlen);
 
 #endif