mirror of
git://git.suckless.org/sbase
synced 2024-12-23 15:34:38 +00:00
Ensure we #undef strlcat and strlcpy
These may be implemented as macros so #undef them and use our own implementation.
This commit is contained in:
parent
f4609e2836
commit
4ba6c37839
2
util.h
2
util.h
@ -20,6 +20,8 @@ long estrtol(const char *, int);
|
|||||||
void fnck(const char *, const char *, int (*)(const char *, const char *));
|
void fnck(const char *, const char *, int (*)(const char *, const char *));
|
||||||
void putword(const char *);
|
void putword(const char *);
|
||||||
void recurse(const char *, void (*)(const char *));
|
void recurse(const char *, void (*)(const char *));
|
||||||
|
#undef strlcat
|
||||||
size_t strlcat(char *, const char *, size_t);
|
size_t strlcat(char *, const char *, size_t);
|
||||||
|
#undef strlcpy
|
||||||
size_t strlcpy(char *, const char *, size_t);
|
size_t strlcpy(char *, const char *, size_t);
|
||||||
void weprintf(const char *, ...);
|
void weprintf(const char *, ...);
|
||||||
|
Loading…
Reference in New Issue
Block a user