mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-17 19:42:21 +00:00
Add prototypes for strlcpy/strlcat
This commit is contained in:
parent
eadf90aa65
commit
5244690a5e
4 changed files with 10 additions and 0 deletions
|
|
@ -456,6 +456,11 @@ extern int xstrncasecmp(const char *s1, const char *s2, size_t n);
|
|||
extern char *xstrcasestr(const char *s, const char *find);
|
||||
#endif
|
||||
|
||||
#ifndef HAS_STRLCPY
|
||||
extern size_t strlcpy(char *dst, const char *src, size_t siz);
|
||||
extern size_t strlcat(char *dst, const char *src, size_t siz);
|
||||
#endif
|
||||
|
||||
/* Logging. */
|
||||
typedef enum _LogParameter {
|
||||
XLOG_FLUSH,
|
||||
|
|
|
|||
Loading…
Reference in a new issue