Include <config.h> uniformly in oldXMenu sources.
[bpt/emacs.git] / oldXMenu / XLookAssoc.c
index b1b53d9..fad960d 100644 (file)
@@ -1,18 +1,8 @@
 /* Copyright    Massachusetts Institute of Technology    1985  */
-/* Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.  */
 
-/*
-Permission to use, copy, modify, distribute, and sell this software and its
-documentation for any purpose is hereby granted without fee, provided that
-the above copyright notice appear in all copies and that both that
-copyright notice and this permission notice appear in supporting
-documentation, and that the name of M.I.T. not be used in advertising or
-publicity pertaining to distribution of the software without specific,
-written prior permission.  M.I.T. makes no representations about the
-suitability of this software for any purpose.  It is provided "as is"
-without express or implied warranty.
-*/
+#include "copyright.h"
 
+#include <config.h>
 #include <X11/Xlib.h>
 #include <X11/Xresource.h>
 #include "X10.h"
@@ -28,10 +18,9 @@ without express or implied warranty.
  * in the table the routine will return a NULL pointer.  All XId's are relative
  * to the currently active Display.
  */
-caddr_t XLookUpAssoc(dpy, table, x_id)
-        register Display *dpy;
-       register XAssocTable *table;    /* XAssocTable to search in. */
-       register XID x_id;                      /* 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;
@@ -65,6 +54,3 @@ caddr_t XLookUpAssoc(dpy, table, x_id)
        /* It is apparently not in the table. */
        return(NULL);
 }
-
-/* arch-tag: d5075d0c-4b71-467d-b33c-3f5c4c4afcf2
-   (do not change this comment) */