X-Git-Url: http://git.tuebingen.mpg.de/?p=dss.git;a=blobdiff_plain;f=string.c;h=ac9c336ed7a599fac069221741be4d72e2060367;hp=cf6d0b1a365aa378720ba1882aa5c83cc39a0df6;hb=a0b87ba0529cc6ab075e1d7a11f8b4adc47948eb;hpb=8f1fcd9c5ea3aa0f78be83b2a912a1e8cf722b76 diff --git a/string.c b/string.c index cf6d0b1..ac9c336 100644 --- a/string.c +++ b/string.c @@ -13,6 +13,7 @@ #include "gcc-compat.h" #include "log.h" #include "error.h" +#include "string.h" __noreturn void clean_exit(int status); @@ -183,15 +184,6 @@ __must_check __malloc char *get_homedir(void) return dss_strdup(pw? pw->pw_dir : "/tmp"); } -/** \cond LLONG_MAX and LLONG_LIN might not be defined. */ -#ifndef LLONG_MAX -#define LLONG_MAX (1 << (sizeof(long) - 1)) -#endif -#ifndef LLONG_MIN -#define LLONG_MIN (-LLONG_MAX - 1LL) -#endif -/** \endcond */ - /** * Convert a string to a 64-bit signed integer value. *