From c665ba1fd8e180c55638bd14b686c95658fe0b87 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin (Intel)" Date: Wed, 1 Jul 2020 20:54:58 -0700 Subject: 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) --- include/strlist.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/strlist.h b/include/strlist.h index f1775abd..25681c59 100644 --- a/include/strlist.h +++ b/include/strlist.h @@ -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, ...); -- cgit v1.2.1