From 47a6e6df2b6430c1047538260750cdbe78c566d5 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 4 Dec 2012 12:42:29 -0800 Subject: Include uniformly in oldXMenu sources. * Activate.c, AddPane.c, AddSel.c, ChgPane.c, ChgSel.c, Create.c: * InsPane.c, InsSel.c, Internal.c, XMakeAssoc.c: Do not include , since XMenuInt.h does that now. * XLookAssoc.c, XMenuInt.h: Include . This avoids a build failure when configuring on Fedora 17 --with-x-toolkit=no, reported by Dmitry Andropov in . --- oldXMenu/XLookAssoc.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'oldXMenu/XLookAssoc.c') diff --git a/oldXMenu/XLookAssoc.c b/oldXMenu/XLookAssoc.c index e287ebbaa72..fad960d7a4c 100644 --- a/oldXMenu/XLookAssoc.c +++ b/oldXMenu/XLookAssoc.c @@ -2,7 +2,7 @@ #include "copyright.h" - +#include #include #include #include "X10.h" @@ -18,10 +18,9 @@ * in the table the routine will return a NULL pointer. All XId's are relative * to the currently active Display. */ -caddr_t XLookUpAssoc(register Display *dpy, register XAssocTable *table, register XID x_id) - - /* XAssocTable to search in. */ - /* XId to search for. */ +caddr_t XLookUpAssoc(Display *dpy, + XAssocTable *table, /* XAssocTable to search in. */ + XID x_id) /* XId to search for. */ { int hash; register XAssoc *bucket; @@ -55,4 +54,3 @@ caddr_t XLookUpAssoc(register Display *dpy, register XAssocTable *table, registe /* It is apparently not in the table. */ return(NULL); } - -- cgit v1.2.3