Include <config.h> uniformly in oldXMenu sources.
[bpt/emacs.git] / oldXMenu / XLookAssoc.c
index e287ebb..fad960d 100644 (file)
@@ -2,7 +2,7 @@
 
 #include "copyright.h"
 
-
+#include <config.h>
 #include <X11/Xlib.h>
 #include <X11/Xresource.h>
 #include "X10.h"
  * 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);
 }
-