libc: Fix pty.h and getopt.h warnings
This commit is contained in:
parent
0545ea91e6
commit
e443cd7ffd
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue