mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-18 07:22:04 +08:00
Remove gets() declaration (conflicts <stdio.h>)
This commit is contained in:
@@ -94,7 +94,9 @@ int fls(int);
|
|||||||
int flsl(long);
|
int flsl(long);
|
||||||
#endif
|
#endif
|
||||||
int fnmatch(const char *, const char *, int);
|
int fnmatch(const char *, const char *, int);
|
||||||
|
#ifndef __rtems__
|
||||||
void gets(char *, size_t, int);
|
void gets(char *, size_t, int);
|
||||||
|
#endif /* __rtems__ */
|
||||||
int locc(int, char *, u_int);
|
int locc(int, char *, u_int);
|
||||||
int memcmp(const void *b1, const void *b2, size_t len);
|
int memcmp(const void *b1, const void *b2, size_t len);
|
||||||
void qsort(void *base, size_t nmemb, size_t size,
|
void qsort(void *base, size_t nmemb, size_t size,
|
||||||
|
@@ -96,7 +96,6 @@
|
|||||||
|
|
||||||
#include <machine/rtems-bsd-symbols.h>
|
#include <machine/rtems-bsd-symbols.h>
|
||||||
|
|
||||||
#define gets _bsd_gets
|
|
||||||
#define realloc _bsd_realloc
|
#define realloc _bsd_realloc
|
||||||
#define reallocf _bsd_reallocf
|
#define reallocf _bsd_reallocf
|
||||||
#define setenv _bsd_setenv
|
#define setenv _bsd_setenv
|
||||||
|
Reference in New Issue
Block a user