strlist.h: move safe_alloc declaration

Move the safe_alloc declaration after the * symbol to be consistent
with all other functions with this attribute. Just in case it matters
somewhere...

Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
This commit is contained in:
H. Peter Anvin (Intel) 2020-07-01 20:54:58 -07:00
parent b877708a83
commit c665ba1fd8

View File

@ -77,7 +77,7 @@ static inline size_t strlist_size(const struct strlist *list)
return list ? list->size : 0;
}
struct strlist safe_alloc *strlist_alloc(bool uniq);
struct strlist * safe_alloc strlist_alloc(bool uniq);
const struct strlist_entry *strlist_add(struct strlist *list, const char *str);
const struct strlist_entry * printf_func(2, 3)
strlist_printf(struct strlist *list, const char *fmt, ...);