On 24/07/10 20:58, Bram Moolenaar wrote:
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];
Sorry, I'm just seeing this post now, but I notice that you already
pushed the patch to the hg repo, and the warning has disappeared.
Best regards,
Tony.
--
The human race has been fascinated by sharks for as long as I can
remember. Just like the bluebird feeding its young, or the spider
struggling to weave its perfect web, or the buttercup blooming in
spring, the shark reveals to us yet another of the infinite and
wonderful facets of nature, namely the facet that it can bite your head
off. This causes us humans to feel a certain degree of awe.
-- Dave Barry, "The Wonders of Sharks on TV"
--
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