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:
Antonio Niño Díaz committed 2018-01-27 00:02:26 +00:00
1 parent 1a5c423984
commit f9f3bb7761
5 files changed
+15 -63

No files matched your search

-2
View File
@@ -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 */