changeset 2397:d5976fe4349d vim73

Fix for compiler warning about function prototype in pty.c.
author Bram Moolenaar <bram@vim.org>
date Sat, 24 Jul 2010 20:44:27 +0200
parents 6d6d72521a9a
children 0c8219a26bc9
files src/pty.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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];