Skip to content

Commit

Permalink
util: fix build with CFLAGS="-g"
Browse files Browse the repository at this point in the history
  • Loading branch information
wfrisch committed Aug 29, 2024
1 parent 75e767d commit fb038a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ char* trim_space(char *str);
int get_abbreviated(uint64_t num, int max_digs, char *res);
int contains(const char *prfx, const char *str);

inline int is_str_empty(char *str)
static inline int is_str_empty(char *str)
{
if (str && str[0] == '\0')
return 1;
Expand Down

0 comments on commit fb038a8

Please sign in to comment.