summaryrefslogtreecommitdiff
path: root/src/stubs/errorf.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2006-06-01 21:49:51 +0000
committerAdam Jackson <ajax@nwnk.net>2006-06-01 21:49:51 +0000
commitddd281e6b9408c786cdc759cf7d1ec8972048658 (patch)
tree1a89d9415450d874dfdbae0235391a0d67690e87 /src/stubs/errorf.c
parente9357d6670fc2e8ccf8d8770bac4c31994d6cc2f (diff)
For the 20-odd symbols defined both in libXfont and the X server, emit them
as weak symbols so that the linker will prefer the server's definition when present.
Diffstat (limited to 'src/stubs/errorf.c')
-rw-r--r--src/stubs/errorf.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/stubs/errorf.c b/src/stubs/errorf.c
index 52c6042..28872e2 100644
--- a/src/stubs/errorf.c
+++ b/src/stubs/errorf.c
@@ -1,13 +1,9 @@
-/* $XFree86: xc/lib/font/stubs/errorf.c,v 1.1 1999/01/11 05:13:19 dawes Exp $ */
-
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "stubs.h"
-void
+weak void
ErrorF(const char *f, ...)
{
}
-
-/* end of file */