summaryrefslogtreecommitdiff
path: root/atom.c
diff options
context:
space:
mode:
Diffstat (limited to 'atom.c')
-rw-r--r--atom.c16
1 files changed, 2 insertions, 14 deletions
diff --git a/atom.c b/atom.c
index 11b4ac1..f60191f 100644
--- a/atom.c
+++ b/atom.c
@@ -34,7 +34,6 @@ in this Software without prior written authorization from The Open Group.
#include <config.h>
#endif
#include "fontmisc.h"
-#include "stubs.h"
typedef struct _AtomList {
char *name;
@@ -140,11 +139,7 @@ NameEqual(const char *a, const char *b, int l)
return TRUE;
}
-#ifdef __SUNPRO_C
-#pragma weak MakeAtom
-#endif
-
-weak Atom
+Atom
MakeAtom(const char *string, unsigned len, int makeit)
{
AtomListPtr a;
@@ -152,8 +147,6 @@ MakeAtom(const char *string, unsigned len, int makeit)
int h = 0;
int r;
- OVERRIDE_SYMBOL(MakeAtom, string, len, makeit);
-
hash = Hash(string, len);
if (hashTable) {
h = hash & hashMask;
@@ -212,14 +205,9 @@ MakeAtom(const char *string, unsigned len, int makeit)
return a->atom;
}
-#ifdef __SUNPRO_C
-#pragma weak NameForAtom
-#endif
-
-weak char *
+char *
NameForAtom(Atom atom)
{
- OVERRIDE_SYMBOL(NameForAtom, atom);
if (atom != None && atom <= lastAtom)
return reverseMap[atom]->name;
return NULL;