Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Oct 1998 13:22:54 -0700
From:      Mike Smith <mike@smith.net.au>
To:        Glenn Johnson <gjohnson@commserver.srrc.usda.gov>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: reconciling different defines in header files between Linux and FreeBSD 
Message-ID:  <199810232022.NAA01049@dingo.cdrom.com>
In-Reply-To: Your message of "Fri, 23 Oct 1998 15:11:03 CDT." <199810232011.PAA00764@symbion.srrc.usda.gov> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Greetings,
> 
> I am trying to compile code on FreeBSD 3.0 that was written with Linux in 
> mind.
> The following code snippet is where it is failing:
...
>     void *brkadr, *sbrk();
...
> What is the right way to reconcile my code? Do I need to redefine sbrk in the source file as extern or do I make the call explicitly char?

The code above contains a bogus prototype for sbrk; remove it.


-- 
\\  Sometimes you're ahead,       \\  Mike Smith
\\  sometimes you're behind.      \\  mike@smith.net.au
\\  The race is long, and in the  \\  msmith@freebsd.org
\\  end it's only with yourself.  \\  msmith@cdrom.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810232022.NAA01049>