mirror of
https://github.com/gbdev/rgbds.git
synced 2026-10-06 04:05:38 +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 <[email protected]>
This commit is contained in:
1 parent
1a5c423984
commit
f9f3bb7761
5 files changed
+15
-63
No files matched your search
Vendored
-2
@@ -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