X-Git-Url: https://git.octo.it/?a=blobdiff_plain;ds=sidebyside;f=src%2Fdaemon%2Fcommon.h;fp=src%2Fdaemon%2Fcommon.h;h=0e2b1d870c6c0ecba48961f2a649ba02e3e04061;hb=3653632a3c92774fdcfcbf82738bc2410588aaeb;hp=e36436261de74318f05ab965a59452946dccf04b;hpb=ca6d2f62d82ba4d07d6f266e3abbe1c0230d2f5a;p=collectd.git diff --git a/src/daemon/common.h b/src/daemon/common.h index e3643626..0e2b1d87 100644 --- a/src/daemon/common.h +++ b/src/daemon/common.h @@ -386,12 +386,10 @@ int strtogauge(const char *string, gauge_t *ret_value); int strarray_add(char ***ret_array, size_t *ret_array_len, char const *str); void strarray_free(char **array, size_t array_len); -#ifdef HAVE_SYS_CAPABILITY_H /** Check if the current process benefits from the capability passed in * argument. Returns zero if it does, less than zero if it doesn't or on error. * See capabilities(7) for the list of possible capabilities. * */ int check_capability(int arg); -#endif /* HAVE_SYS_CAPABILITY_H */ #endif /* COMMON_H */