libc: Fix pty.h and getopt.h warnings

This commit is contained in:
Andreas Hampicke 2018-02-10 22:13:16 +01:00
parent 0545ea91e6
commit e443cd7ffd
2 changed files with 4 additions and 4 deletions

View file

@ -6,7 +6,7 @@
#ifdef __cplusplus
extern "C" {
#endif __cplusplus
#endif
struct option {
const char *name;
@ -24,7 +24,7 @@ int getopt_long_only(int, char *const[], const char *, const struct option *, in
#ifdef __cplusplus
}
#endif __cplusplus
#endif
#endif // _GETOPT_H

View file

@ -6,14 +6,14 @@
#ifdef __cplusplus
extern "C" {
#endif __cplusplus
#endif
int openty(int *, int *, char *, const struct termios *, const struct winsize *);
int forkpty(int *, char *, const struct termios *, const struct winsize *);
#ifdef __cplusplus
}
#endif __cplusplus
#endif
#endif // _PTY_H