Up to [cvs.NetBSD.org] / src / lib / libc / md
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: mjf-devfs2
Revision 1.7 / (download) - annotate - [select for diffs], Mon Sep 26 03:01:41 2005 UTC (17 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pf42-baseX,
yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-pf42-base,
yamt-pf42,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
wrstuden-revivesa,
wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
netbsd-5-base,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
netbsd-4,
mjf-devfs2-base,
mjf-devfs2,
matt-mips64-base2,
matt-mips64-base,
matt-mips64,
matt-armv6-prevmlocking,
matt-armv6-nbase,
matt-armv6-base,
matt-armv6,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-nbase,
hpcarm-cleanup-base,
hpcarm-cleanup,
cube-autoconf-base,
cube-autoconf,
christos-time_t-nbase,
christos-time_t-base,
christos-time_t,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: netbsd-5,
jym-xensuspend
Changes since 1.6: +21 -4
lines
Diff to previous 1.6 (colored)
The weak alias macros can only work before namespace.h gets included because when the strings get expanded we gain an _ from namespace.h. So define a macro to point to the appropriate include file for the hash function, and include the hash function later, from the .c file we always include. This allows us to eliminate the hack of including namespace.h twice as well as nbtool_config.h.