X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/1f3ddf11e81c4c707fe2f231d05012185b842403..d350e350eaf4872d123e0ab873c4a095099013c9:/oldXMenu/X10.h diff --git a/oldXMenu/X10.h b/oldXMenu/X10.h index e1abcbbe6c..5e4ca068ba 100644 --- a/oldXMenu/X10.h +++ b/oldXMenu/X10.h @@ -51,10 +51,10 @@ XDrawFilled so it shouldn't be defined. */ typedef struct _XAssoc { struct _XAssoc *next; /* Next object in this bucket. */ - struct _XAssoc *prev; /* Previous obejct in this bucket. */ + struct _XAssoc *prev; /* Previous object in this bucket. */ Display *display; /* Display which owns the id. */ XID x_id; /* X Window System id. */ - char *data; /* Pointer to untyped memory. */ + void *data; /* Pointer to untyped memory. */ } XAssoc; /* @@ -71,10 +71,7 @@ typedef struct { int size; /* Table size (number of buckets). */ } XAssocTable; -XAssocTable *XCreateAssocTable(); -char *XLookUpAssoc(); +XAssocTable *XCreateAssocTable(int size); +char *XLookUpAssoc(Display *dpy, XAssocTable *table, XID x_id); #endif /* _X10_H_ */ - -/* arch-tag: b0b749fb-757b-470b-b405-af7d033a5aad - (do not change this comment) */