diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h index d059ac9de..19b3bba5f 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -637,7 +637,11 @@ const char* get_cached_groupname(gid_t gid); | |||
637 | void clear_username_cache(void); | 637 | void clear_username_cache(void); |
638 | /* internally usernames are saved in fixed-sized char[] buffers */ | 638 | /* internally usernames are saved in fixed-sized char[] buffers */ |
639 | enum { USERNAME_MAX_SIZE = 16 - sizeof(int) }; | 639 | enum { USERNAME_MAX_SIZE = 16 - sizeof(int) }; |
640 | 640 | #if ENABLE_FEATURE_CHECK_NAMES | |
641 | void die_if_bad_username(const char* name); | ||
642 | #else | ||
643 | #define die_if_bad_username(name) ((void)(name)) | ||
644 | #endif | ||
641 | 645 | ||
642 | int execable_file(const char *name); | 646 | int execable_file(const char *name); |
643 | char *find_execable(const char *filename); | 647 | char *find_execable(const char *filename); |