diff options
Diffstat (limited to 'src/util/atom.c')
-rw-r--r-- | src/util/atom.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/util/atom.c b/src/util/atom.c index e5fea46..b770dc9 100644 --- a/src/util/atom.c +++ b/src/util/atom.c @@ -146,6 +146,10 @@ NameEqual (const char *a, const char *b, int l) return TRUE; } +#ifdef __SUNPRO_C +#pragma weak MakeAtom +#endif + weak Atom MakeAtom(char *string, unsigned len, int makeit) { @@ -219,12 +223,20 @@ MakeAtom(char *string, unsigned len, int makeit) return a->atom; } +#ifdef __SUNPRO_C +#pragma weak ValidAtom +#endif + weak int ValidAtom(Atom atom) { return (atom != None) && (atom <= lastAtom); } +#ifdef __SUNPRO_C +#pragma weak NameForAtom +#endif + weak char * NameForAtom(Atom atom) { |