X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/e745ede7473e87b93d71858bc1c8447a1307de28..35fcc05c0e4f0ee9312c422e10ab14b4d34bb884:/oldXMenu/XLookAssoc.c diff --git a/oldXMenu/XLookAssoc.c b/oldXMenu/XLookAssoc.c index f80952a634..a1a06e900c 100644 --- a/oldXMenu/XLookAssoc.c +++ b/oldXMenu/XLookAssoc.c @@ -1,17 +1,7 @@ -/* $XConsortium: XLookAssoc.c,v 10.16 91/01/06 12:09:24 rws Exp $ */ /* Copyright Massachusetts Institute of Technology 1985 */ -/* -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 #include @@ -21,17 +11,17 @@ without express or implied warranty. #define NULL 0 #endif -/* +/* * XLookUpAssoc - Retrieve the data stored in an XAssocTable by its XId. * If an appropriately matching XId can be found in the table the routine will * return apointer to the data associated with it. If the XId can not be found * 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(register Display *dpy, register XAssocTable *table, register XID x_id) + + /* XAssocTable to search in. */ + /* XId to search for. */ { int hash; register XAssoc *bucket; @@ -66,3 +56,5 @@ caddr_t XLookUpAssoc(dpy, table, x_id) return(NULL); } +/* arch-tag: d5075d0c-4b71-467d-b33c-3f5c4c4afcf2 + (do not change this comment) */