unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* unexec function prototype
@ 2010-10-01 14:32 Dan Nicolaescu
  2010-10-01 17:12 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Dan Nicolaescu @ 2010-10-01 14:32 UTC (permalink / raw)
  To: emacs-devel


We currently get a warning in emacs.c because "unexec" does not have a
prototype.

More, the last two arguments are always zero, and the third is never
used in any implementation in unex*.c.

The bss_start argument is only used in unexaix.c and unexcoff.c, and
the code could be simplified because it's always passed as zero.

So it seems that "unexec" should only have a two arguments.

If there's no objection, I plan to change the code to do that.





^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: unexec function prototype
  2010-10-01 14:32 unexec function prototype Dan Nicolaescu
@ 2010-10-01 17:12 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2010-10-01 17:12 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: emacs-devel

> From: Dan Nicolaescu <dann@gnu.org>
> Date: Fri, 01 Oct 2010 10:32:40 -0400
> 
> 
> We currently get a warning in emacs.c because "unexec" does not have a
> prototype.
> 
> More, the last two arguments are always zero, and the third is never
> used in any implementation in unex*.c.
> 
> The bss_start argument is only used in unexaix.c and unexcoff.c, and
> the code could be simplified because it's always passed as zero.
> 
> So it seems that "unexec" should only have a two arguments.
> 
> If there's no objection, I plan to change the code to do that.

No objections wrt unexcoff.c.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-10-01 17:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-01 14:32 unexec function prototype Dan Nicolaescu
2010-10-01 17:12 ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).