Skip to content
Snippets Groups Projects
Commit eb80f04f authored by Bram Moolenaar's avatar Bram Moolenaar
Browse files

Fix for compiler warning about function prototype in pty.c.

parent 1b20d3d6
No related merge requests found
......@@ -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];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment