diff options
author | Ruediger Meier | 2016-02-07 12:59:57 +0100 |
---|---|---|
committer | Ruediger Meier | 2016-02-18 12:53:48 +0100 |
commit | b0b24b11f8072fc854dbf6ee31be0feba93beba3 (patch) | |
tree | dd77194b56ba820ba7e14c87f0f66c9ed6c82346 /include/strutils.h | |
parent | tests: fix ts_option helpers (diff) | |
download | kernel-qcow2-util-linux-b0b24b11f8072fc854dbf6ee31be0feba93beba3.tar.gz kernel-qcow2-util-linux-b0b24b11f8072fc854dbf6ee31be0feba93beba3.tar.xz kernel-qcow2-util-linux-b0b24b11f8072fc854dbf6ee31be0feba93beba3.zip |
lib: rename strmode() and setmode()
On BSD they are part of the standard C library.
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'include/strutils.h')
-rw-r--r-- | include/strutils.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |