mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-21 10:42:07 +00:00
Cleanup code of rgbfix, rgbgfx and external libs
Follow Linux kernel coding style. Signed-off-by: Antonio Niño Díaz <antonio_nd@outlook.com>
This commit is contained in:
18
include/extern/strl.h
vendored
18
include/extern/strl.h
vendored
@@ -1,13 +1,17 @@
|
||||
#ifndef STRL_H
|
||||
#define STRL_H
|
||||
#ifndef EXTERN_STRL_H
|
||||
#define EXTERN_STRL_H
|
||||
|
||||
#ifdef STRL_IN_LIBC
|
||||
|
||||
#include <string.h>
|
||||
#else
|
||||
|
||||
#else /* STRL_IN_LIBC */
|
||||
|
||||
#define strlcpy rgbds_strlcpy
|
||||
#define strlcat rgbds_strlcat
|
||||
size_t strlcpy(char *, const char *, size_t);
|
||||
size_t strlcat(char *, const char *, size_t);
|
||||
#endif
|
||||
size_t strlcpy(char *dst, const char *src, size_t dsize);
|
||||
size_t strlcat(char *dst, const char *src, size_t dsize);
|
||||
|
||||
#endif
|
||||
#endif /* STRL_IN_LIBC */
|
||||
|
||||
#endif /* EXTERN_STRL_H */
|
||||
|
||||
Reference in New Issue
Block a user