diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-07-24 20:44:27 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-07-24 20:44:27 +0200 |
commit | eb80f04f6e59b958f8c97d19c92946a5014b896f (patch) | |
tree | eaba301a19772ded13b8706181b12892604ea716 | |
parent | 1b20d3d608c96125e72795c7eba657d3cf546935 (diff) |
Fix for compiler warning about function prototype in pty.c.
-rw-r--r-- | src/pty.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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]; |