mirror of
https://github.com/mii443/qemu.git
synced 2025-12-16 17:18:49 +00:00
Fix missing strnlen problems
Fix missing strnlen (a GNU extension) problems by using qemu_strnlen used for user emulators also for system emulators. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
@@ -109,6 +109,7 @@ void pstrcpy(char *buf, int buf_size, const char *str);
|
||||
char *pstrcat(char *buf, int buf_size, const char *s);
|
||||
int strstart(const char *str, const char *val, const char **ptr);
|
||||
int stristart(const char *str, const char *val, const char **ptr);
|
||||
int qemu_strnlen(const char *s, int max_len);
|
||||
time_t mktimegm(struct tm *tm);
|
||||
int qemu_fls(int i);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user