X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=util.h;h=9aceaef47fd5e118d3a8a9a811fbf036b3cf944a;hb=c9b97d2a838899d00004fbfbd3f8c2e6932c89a0;hp=a9690603317179081364ee079414ca355a305b52;hpb=2a987ee8c94ac29545e3c94d47b5d493daea0b5e;p=elogind.git diff --git a/util.h b/util.h index a96906033..9aceaef47 100644 --- a/util.h +++ b/util.h @@ -19,7 +19,7 @@ typedef uint64_t usec_t; #define NSEC_PER_USEC 1000ULL /* What is interpreted as whitespace? */ -#define WHITESPACE " \t\n" +#define WHITESPACE " \t\n\r" usec_t now(clockid_t clock); @@ -101,4 +101,7 @@ char *path_make_absolute(const char *p, const char *prefix); int reset_all_signal_handlers(void); +char *strstrip(char *s); +char *file_in_same_dir(const char *path, const char *filename); + #endif