From b0b24b11f8072fc854dbf6ee31be0feba93beba3 Mon Sep 17 00:00:00 2001 From: Ruediger Meier Date: Sun, 7 Feb 2016 12:59:57 +0100 Subject: lib: rename strmode() and setmode() On BSD they are part of the standard C library. Signed-off-by: Ruediger Meier --- include/strutils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/strutils.h') diff --git a/include/strutils.h b/include/strutils.h index ec2a8acd6..4bb3b2dc3 100644 --- a/include/strutils.h +++ b/include/strutils.h @@ -78,7 +78,7 @@ static inline char *strdup_to_offset(void *stru, size_t offset, const char *str) #define strdup_to_struct_member(_s, _m, _str) \ strdup_to_offset((void *) _s, offsetof(__typeof__(*(_s)), _m), _str) -extern void strmode(mode_t mode, char *str); +extern void xstrmode(mode_t mode, char *str); /* Options for size_to_human_string() */ enum -- cgit v1.2.3-55-g7522