summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin (Intel) <hpa@zytor.com>2020-07-01 20:54:58 -0700
committerH. Peter Anvin (Intel) <hpa@zytor.com>2020-07-01 20:54:58 -0700
commitc665ba1fd8e180c55638bd14b686c95658fe0b87 (patch)
treefe2a1cccf39d108fd5cef0eba1603244d309d588
parentb877708a8322b83f4da04834421c0a4b624ef94a (diff)
downloadnasm-c665ba1fd8e180c55638bd14b686c95658fe0b87.tar.gz
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>
-rw-r--r--include/strlist.h2
1 files changed, 1 insertions, 1 deletions
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, ...);