summaryrefslogtreecommitdiff
path: root/AuFileName.c
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-17 19:03:41 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-17 19:03:41 +0000
commit046c2c32dd7268cc51de9748f42c14abc102e4f6 (patch)
tree10e45a24782e633b9f6e1f8b427fac91ee2ddfa8 /AuFileName.c
parentdcc3fc52f917603df94ef4207f1dec9238dce23b (diff)
merge XFree86 4.3.0.1 to -CURRENT
Diffstat (limited to 'AuFileName.c')
-rw-r--r--AuFileName.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/AuFileName.c b/AuFileName.c
index aa456a1..a1bb520 100644
--- a/AuFileName.c
+++ b/AuFileName.c
@@ -25,15 +25,17 @@ used in advertising or otherwise to promote the sale, use or other dealings
in this Software without prior written authorization from The Open Group.
*/
+/* $XFree86: xc/lib/Xau/AuFileName.c,v 3.7 2001/12/14 19:54:36 dawes Exp $ */
#include <X11/Xauth.h>
#include <X11/Xos.h>
+#include <stdlib.h>
char *
XauFileName ()
{
char *slashDotXauthority = "/.Xauthority";
- char *name, *malloc (), *getenv ();
+ char *name;
static char *buf;
static int bsize;
#ifdef WIN32