zsh-workers
 help / color / mirror / code / Atom feed
From: Zoltan Hidvegi <hzoli@frontiernet.net>
To: schaefer@brasslantern.com (Bart Schaefer)
Cc: zsh-workers@math.gatech.edu
Subject: Re: parse.pro:29: warning: `discard_input' declared `static' but never defined
Date: Sun, 3 Aug 1997 20:53:03 -0400 (EDT)	[thread overview]
Message-ID: <199708040053.UAA02537@hzoli.home> (raw)
In-Reply-To: <970803163249.ZM11636@candle.brasslantern.com> from Bart Schaefer at "Aug 3, 97 04:32:49 pm"

> I just got around to applying Zoltan's patch for nonblocking reads, and
> started getting the warning message that appears in the subject.
> 
> Static functions shouldn't be included in prototyping headers that are
> included by other .c files.

For nonblocking reads?  That was in the patch for the [[ bug bug ]] bug
that caused BUG: wrong character in hungetc().  That's because the patch
was made for 3.1.2 but it also applies to 3.0.4.  Just remove the static
keyword in parse.c from discard input.  Alternatively remove the /**/
mark before the function, and either move the function to the top of the
file, or put a forward declaration to the beginning.  But the warning is
really harmless, and the best and most convinient solution is to just
ignore it.

Zoltan


      reply	other threads:[~1997-08-04  1:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-08-03 23:32 Bart Schaefer
1997-08-04  0:53 ` Zoltan Hidvegi [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199708040053.UAA02537@hzoli.home \
    --to=hzoli@frontiernet.net \
    --cc=schaefer@brasslantern.com \
    --cc=zsh-workers@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).