diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-05-26 13:53:44 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-05-26 13:53:44 -0400 |
commit | 9bc167d23a3f738057185dc8a6412132c7c47c3e (patch) | |
tree | ea4ec66c8c5913c8bfda717dc5c7acb8053d0f10 /include | |
parent | c34dc1f1dfe74ded5b71bb0bb10f61f3610bc987 (diff) | |
download | spmc-9bc167d23a3f738057185dc8a6412132c7c47c3e.tar.gz |
Errors set return value and jump to end of function
Diffstat (limited to 'include')
-rw-r--r-- | include/strlist.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/strlist.h b/include/strlist.h index 9614894..55a784f 100644 --- a/include/strlist.h +++ b/include/strlist.h @@ -13,7 +13,6 @@ typedef struct { } StrList; StrList *strlist_init(); -int strlist_append_file(StrList *pStrList, char *path, ReaderFn *readerFn); void strlist_remove(StrList *pStrList, size_t index); long double strlist_item_as_long_double(StrList *pStrList, size_t index); double strlist_item_as_double(StrList *pStrList, size_t index); @@ -28,13 +27,13 @@ unsigned short strlist_item_as_ushort(StrList *pStrList, size_t index); short strlist_item_as_short(StrList *pStrList, size_t index); unsigned char strlist_item_as_uchar(StrList *pStrList, size_t index); char strlist_item_as_char(StrList *pStrList, size_t index); -unsigned char strlist_item_as_uchar(StrList *pStrList, size_t index); char *strlist_item_as_str(StrList *pStrList, size_t index); char *strlist_item(StrList *pStrList, size_t index); void strlist_set(StrList *pStrList, size_t index, char *value); size_t strlist_count(StrList *pStrList); void strlist_reverse(StrList *pStrList); void strlist_sort(StrList *pStrList, unsigned int mode); +int strlist_append_file(StrList *pStrList, char *path, ReaderFn *readerFn); void strlist_append_strlist(StrList *pStrList1, StrList *pStrList2); void strlist_append(StrList *pStrList, char *str); StrList *strlist_copy(StrList *pStrList); |