mirror of
https://github.com/systemd/systemd.git
synced 2024-12-23 21:35:11 +03:00
util: Add _sentinel_ to strextend()
Since it must be NULL terminated.
This commit is contained in:
parent
27eda16e98
commit
a432cb691c
@ -633,7 +633,7 @@ static inline void *mempset(void *s, int c, size_t n) {
|
||||
char *hexmem(const void *p, size_t l);
|
||||
void *unhexmem(const char *p, size_t l);
|
||||
|
||||
char *strextend(char **x, ...);
|
||||
char *strextend(char **x, ...) _sentinel_;
|
||||
char *strrep(const char *s, unsigned n);
|
||||
|
||||
void* greedy_realloc(void **p, size_t *allocated, size_t need);
|
||||
|
Loading…
Reference in New Issue
Block a user