This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Some remaining prototype warnings



I've noticed a few prototype warnings where I'm not sure how to fix
them best:

../sysdeps/generic/enbl-secure.c:31: warning: no previous prototype for `__libc_init_secure'
soinit.c:43: warning: no previous prototype for `__libc_global_ctors'
../sysdeps/generic/prof-freq.c:37: warning: no previous prototype for `__profile_frequency'

noophooks.c:23: warning: no previous prototype for `__cyg_profile_func_enter'
pcprofile.c:78: warning: no previous prototype for `__cyg_profile_func_enter'

Should we add two new internal headers (one for the first three, the
second for the last two lines?) ?

Or what seems to be best?

And what about these?
../sysdeps/unix/sysv/linux/i386/getresgid.c:52: warning: no previous prototype for `getresgid'
../sysdeps/unix/sysv/linux/i386/getresuid.c:50: warning: no previous prototype for `getresuid'

Any suggestions?
Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]