gmon-sol2.c: Silence compilation warnings by partially synchronizing code with...
authorRoger Sayle <roger@eyesopen.com>
Tue, 18 Jul 2006 00:29:20 +0000 (00:29 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Tue, 18 Jul 2006 00:29:20 +0000 (00:29 +0000)
commit4f5afe7d1af4339a5a420fe15b40c74f328daa86
tree821d26eb0c7bf5f7f2ac2b8603e0a490fc58b56c
parentd4bc44eadf50f3d2ee682775e75f185ef664458d
gmon-sol2.c: Silence compilation warnings by partially synchronizing code with...

* config/i386/gmon-sol2.c: Silence compilation warnings by partially
synchronizing code with config/sparc/gmon-sol2.c.  Remove #if 0
blocks.  #include "tconfig.h" and "tsystem.h" to prototype system
functions such as sbrk, write, etc..  Add function prototypes.
Convert function declarations from K&R to ISO C.  Cast pointers
to "long" and "unsigned long" instead of "int" and "unsigned int".
Convert tokens following #endif into comments.

Co-Authored-By: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
From-SVN: r115540
gcc/ChangeLog
gcc/config/i386/gmon-sol2.c