Print this page
*** NO COMMENTS ***
*** 20,33 ****
* CDDL HEADER END
*/
/*
* Copyright (c) 1994, by Sun Microsystems, Inc.
* All rights reserved.
*/
! #ident "%Z%%M% %I% %E% SMI" /* SMI4.1 1.4 */
!
#include <ctype.h>
#include "util.h"
#include "table.h"
--- 20,35 ----
* CDDL HEADER END
*/
/*
* Copyright (c) 1994, by Sun Microsystems, Inc.
* All rights reserved.
+ *
+ * Copyright 2012 Nexenta Systems, Inc. All rights reserved.
*/
! #include <stdlib.h>
! #include <strings.h>
#include <ctype.h>
#include "util.h"
#include "table.h"
*** 61,71 ****
}
void
store(table, key, datum)
! stringtable table;
char *key;
char *datum;
{
int index;
tablelist cur, new;
--- 63,73 ----
}
void
store(table, key, datum)
! tablelist *table;
char *key;
char *datum;
{
int index;
tablelist cur, new;
*** 81,91 ****
}
char *
lookup(table, key)
! stringtable table;
char *key;
{
tablelist cur;
cur = table[tablekey(key)];
--- 83,93 ----
}
char *
lookup(table, key)
! tablelist *table;
char *key;
{
tablelist cur;
cur = table[tablekey(key)];