summaryrefslogtreecommitdiff
path: root/dix/buildatoms
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-14 16:49:22 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-14 16:49:22 +0000
commitd568221710959cf7d783e6ff0fb80fb43a231124 (patch)
tree8d6f039393294c6ffac8533639afdebe5d68bfc1 /dix/buildatoms
parent9508a382f8a9f241dab097d921b6d290c1c3a776 (diff)
Diffstat (limited to 'dix/buildatoms')
-rw-r--r--dix/buildatoms7
1 files changed, 4 insertions, 3 deletions
diff --git a/dix/buildatoms b/dix/buildatoms
index bedec5886..dfbbca8a9 100644
--- a/dix/buildatoms
+++ b/dix/buildatoms
@@ -1,5 +1,5 @@
#!/bin/sh
-hfile=../../X11/Xatom.h
+hfile=../../../include/Xatom.h
cfile=initatoms.c
rm -f $hfile $cfile
umask 222
@@ -21,8 +21,9 @@ BEGIN {
printf(" */\n\n") > cfile;
printf("#include \"X.h\"\n") > cfile;
printf("#include \"Xatom.h\"\n") > cfile;
- printf("extern Atom MakeAtom();\n") > cfile;
- printf("MakePredeclaredAtoms()\n") > cfile;
+ printf("#include \"misc.h\"\n") > cfile;
+ printf("#include \"dix.h\"\n") > cfile;
+ printf("void MakePredeclaredAtoms()\n") > cfile;
printf("{\n") > cfile;
}