Some remaining prototype warnings

Andreas Jaeger aj@suse.de
Thu Dec 28 06:04:00 GMT 2000


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


More information about the Libc-hacker mailing list