mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Remove dependency of strlcat()
There was only one place where `strlcat` was used, and `snprintf` actually does a better job at what the code was trying to achieve. Signed-off-by: Antonio Niño Díaz <antonio_nd@outlook.com>
This commit is contained in:
2
include/extern/strl.h
vendored
2
include/extern/strl.h
vendored
@@ -16,9 +16,7 @@
|
||||
#else /* STRL_IN_LIBC */
|
||||
|
||||
#define strlcpy rgbds_strlcpy
|
||||
#define strlcat rgbds_strlcat
|
||||
size_t strlcpy(char *dst, const char *src, size_t dsize);
|
||||
size_t strlcat(char *dst, const char *src, size_t dsize);
|
||||
|
||||
#endif /* STRL_IN_LIBC */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user