]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
64-bit clean + WARNS=6:
authorXin LI <delphij@FreeBSD.org>
Fri, 14 Jan 2005 12:22:57 +0000 (12:22 +0000)
committerXin LI <delphij@FreeBSD.org>
Fri, 14 Jan 2005 12:22:57 +0000 (12:22 +0000)
commit06eda379d4263d63853cad084178254d15664c5f
tree434dbe83b1b4c5346fd59d5f3a689f92fe765729
parentd0aa4b3fa05b76d2b2af014874e7f55d6434d4dd
64-bit clean + WARNS=6:
- Convert the (char *) cast+cast backs magic to
  memcpy(3).  Without this, the resulting code
  is potentially risky with higher optimization
  levels.
- Avoid same name when calling local variables,
  as well as global symbols.  This reduces
  confusion for both human and compiler.
- Add necessary casts, consts
- Use new style function defination.
- Minor style.Makefile(5) tweak
- Bump WARNS?= from 0 to 6

** for the aout code: changes are intentionally limited
   to ease maintaince.
libexec/rtld-aout/shlib.c
libexec/rtld-aout/shlib.h
sbin/ldconfig/Makefile
sbin/ldconfig/ldconfig.c