[nasm:nasm-2.15.xx] strlist.h: move safe_alloc declaration

nasm-bot for H. Peter Anvin (Intel) hpa at zytor.com
Wed Jul 1 20:57:03 PDT 2020


Commit-ID:  c665ba1fd8e180c55638bd14b686c95658fe0b87
Gitweb:     http://repo.or.cz/w/nasm.git?a=commitdiff;h=c665ba1fd8e180c55638bd14b686c95658fe0b87
Author:     H. Peter Anvin (Intel) <hpa at zytor.com>
AuthorDate: Wed, 1 Jul 2020 20:54:58 -0700
Committer:  H. Peter Anvin (Intel) <hpa at zytor.com>
CommitDate: Wed, 1 Jul 2020 20:54:58 -0700

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 at zytor.com>


---
 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, ...);


More information about the Nasm-commits mailing list