summaryrefslogtreecommitdiff
path: root/oldXMenu/XCrAssoc.c
diff options
context:
space:
mode:
Diffstat (limited to 'oldXMenu/XCrAssoc.c')
-rw-r--r--oldXMenu/XCrAssoc.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/oldXMenu/XCrAssoc.c b/oldXMenu/XCrAssoc.c
index 874ed81d31f..aa98c27ff41 100644
--- a/oldXMenu/XCrAssoc.c
+++ b/oldXMenu/XCrAssoc.c
@@ -11,8 +11,6 @@
#define NULL 0
#endif
-extern int errno;
-
/*
* XCreateAssocTable - Create an XAssocTable. The size argument should be
* a power of two for efficiency reasons. Some size suggestions: use 32
@@ -20,8 +18,8 @@ extern int errno;
* buckets is 8. If there is an error creating the XAssocTable, a NULL
* pointer is returned.
*/
-XAssocTable *XCreateAssocTable(size)
- register int size; /* Desired size of the table. */
+XAssocTable *XCreateAssocTable(register int size)
+ /* Desired size of the table. */
{
register XAssocTable *table; /* XAssocTable to be initialized. */
register XAssoc *buckets; /* Pointer to the first bucket in */