From: Bram Moolenaar Date: Sat, 24 Jul 2010 18:44:27 +0000 (+0200) Subject: Fix for compiler warning about function prototype in pty.c. X-Git-Tag: v7.3~175 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb80f04f6e59b958f8c97d19c92946a5014b896f;p=thirdparty%2Fvim.git Fix for compiler warning about function prototype in pty.c. --- diff --git a/src/pty.c b/src/pty.c index c4c64d4147..944eccfb9d 100644 --- a/src/pty.c +++ b/src/pty.c @@ -278,8 +278,10 @@ OpenPTY(ttyn) char **ttyn; { int f; - char *m, *ptsname(); - int unlockpt __ARGS((int)), grantpt __ARGS((int)); + char *m; + char *(ptsname __ARGS((int))); + int unlockpt __ARGS((int)); + int grantpt __ARGS((int)); RETSIGTYPE (*sigcld)__ARGS(SIGPROTOARG); /* used for opening a new pty-pair: */ static char TtyName[32];