deprecate gets and tmpnam

For #15515

As mentionned in the ticket, we may also want to hide the symbols
altogether from libroot for newer API/ABI versions, unless we still want
to provide C89/C99/C++98/C++11 compatibility, in which case we still
need them around.

Change-Id: I0ee267fb6c4c2f4bae9b1ba6f68e2bcefc399a7f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2061
Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
Adrien Destugues
2020-01-03 03:35:04 +00:00
committed by waddlesplash
parent 2c17ecf993
commit 92e9211d7b
2 changed files with 11 additions and 4 deletions
-2
View File
@@ -70,7 +70,6 @@ extern void setbuf (FILE *file, char *buff);
extern int setvbuf(FILE *file, char *buff, int mode, size_t size);
extern int sscanf(char const *str, char const *format, ...);
extern FILE *tmpfile(void);
extern char *tmpnam(char *nameBuffer);
extern int ungetc(int c, FILE *stream);
extern int vscanf(char const *format, va_list ap);
extern int vsscanf(char const *str, char const *format, va_list ap);
@@ -81,7 +80,6 @@ extern char *fgets(char *, int, FILE *);
extern int fputc(int, FILE *);
extern int fputs(const char *, FILE*);
extern int getc(FILE *);
extern char *gets(char *);
extern int getw(FILE *);
extern int getchar(void);
extern int putc(int, FILE *);