File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ void errno_save(void);
190190void errno_restore (void );
191191
192192struct strlist * strlist_new (void );
193- void strlist_append_string (struct strlist * , const char * );
193+ int strlist_append_string (struct strlist * , const char * );
194194void strlist_walk (struct strlist * , void * , void (* )(const char * , void * ));
195195void strlist_destroy (struct strlist * );
196196void strlist_debug (const struct strlist * );
Original file line number Diff line number Diff line change @@ -325,10 +325,10 @@ strlist_new(void)
325325 return new ;
326326}
327327
328- void
328+ int
329329strlist_append_string (struct strlist * list , const char * string )
330330{
331- ptr_list_append (
331+ return ptr_list_append_check (
332332 (void * * * )& list -> strings_list ,
333333 & list -> strings_count ,
334334 xstrdup (string ));
You can’t perform that action at this time.
0 commit comments