mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Simplify include structure of container.[ch]
This commit is contained in:
@@ -3279,17 +3279,6 @@ smartlist_add_vasprintf(struct smartlist_t *sl, const char *pattern,
|
||||
smartlist_add(sl, str);
|
||||
}
|
||||
|
||||
/** Append a copy of string to sl */
|
||||
void
|
||||
smartlist_add_strdup(struct smartlist_t *sl, const char *string)
|
||||
{
|
||||
char *copy;
|
||||
|
||||
copy = tor_strdup(string);
|
||||
|
||||
smartlist_add(sl, copy);
|
||||
}
|
||||
|
||||
/** Return a new list containing the filenames in the directory <b>dirname</b>.
|
||||
* Return NULL on error or if <b>dirname</b> is not a directory.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user