Tony Mechelynck wrote:

> Compiling changeset d680c97481c1 dated Sat Jul 24 16:19:44 2010 +0200
> with Huge features
> 
> [...]
> pty.c: In function ‘OpenPTY’:
> pty.c:295:5: warning: call to function ‘ptsname’ without a real prototype
> pty.c:281:15: note: ‘ptsname’ was declared here
> [...]

Does it work if you change that to:

OpenPTY(ttyn)
    char **ttyn;
{
    int         f;
    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];



-- 
Citizens are not allowed to attend a movie house or theater nor ride in a
public streetcar within at least four hours after eating garlic.
                [real standing law in Indiana, United States of America]

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui