Mercurial > hg > toybox
diff lib/lib.h @ 1235:63db77909fc8 draft
Group headers by standard (POSIX or LSB) or function (internationalization, networking). Move headers standards ignore (but which have been there >15 years) to lib/portability.h. Fold xregcomp into lib since it's posix.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sat, 29 Mar 2014 18:11:00 -0500 |
parents | 468444e5c7c5 |
children | d48bdc1cb017 |
line wrap: on
line diff
--- a/lib/lib.h Sat Mar 29 15:25:23 2014 -0500 +++ b/lib/lib.h Sat Mar 29 18:11:00 2014 -0500 @@ -117,6 +117,7 @@ char *xreadlink(char *name); long xparsetime(char *arg, long units, long *fraction); void xpidfile(char *name); +void xregcomp(regex_t *preg, char *rexec, int cflags); // lib.c void verror_msg(char *msg, int err, va_list va); @@ -178,4 +179,5 @@ void mode_to_string(mode_t mode, char *buf); void names_to_pid(char **names, int (*callback)(pid_t pid, char *name)); +// Functions in need of further review/cleanup #include "lib/pending.h"