]> granicus.if.org Git - vim/commitdiff
patch 8.1.1229: warning for posix_openpt() not declared v8.1.1229
authorBram Moolenaar <Bram@vim.org>
Sun, 28 Apr 2019 16:40:03 +0000 (18:40 +0200)
committerBram Moolenaar <Bram@vim.org>
Sun, 28 Apr 2019 16:40:03 +0000 (18:40 +0200)
Problem:    Warning for posix_openpt() not declared. (Tony Mechelynck)
Solution:   Add declaration.

src/pty.c
src/version.c

index ece360f3724c974f6c2648e2a7dcf19b87aab2ce..7a9e693b6dcc2b99eef6b30786ef29a0855bdda5 100644 (file)
--- a/src/pty.c
+++ b/src/pty.c
 char *ptsname(int);
 int unlockpt(int);
 int grantpt(int);
+int posix_openpt(int flags);
 #endif
 
     static void
index 7bf4907e8e0cd393946f11a13b55870a1adc7c64..675c82faa3211782c99a5e2fd8a91a626a751745 100644 (file)
@@ -767,6 +767,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1229,
 /**/
     1228,
 /**/