fix __cplusplus extern "C" closing brace in pty.h (typo?)
[musl] / include / pty.h
index 9444e5e..db63853 100644 (file)
@@ -9,9 +9,10 @@ extern "C" {
 #include <sys/ioctl.h>
 
 int openpty(int *, int *, char *, const struct termios *, const struct winsize *);
+int forkpty(int *, char *, const struct termios *, const struct winsize *);
 
 #ifdef __cplusplus
-extern }
+}
 #endif
 
 #endif