summaryrefslogtreecommitdiff
path: root/usr.sbin/bind/lib/isccc/symtab.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/bind/lib/isccc/symtab.c')
-rw-r--r--usr.sbin/bind/lib/isccc/symtab.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/usr.sbin/bind/lib/isccc/symtab.c b/usr.sbin/bind/lib/isccc/symtab.c
index b5f29bcade7..1d8ba40e57f 100644
--- a/usr.sbin/bind/lib/isccc/symtab.c
+++ b/usr.sbin/bind/lib/isccc/symtab.c
@@ -1,4 +1,5 @@
/*
+ * Portions Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
* Portions Copyright (C) 2001 Internet Software Consortium.
* Portions Copyright (C) 2001 Nominum, Inc.
*
@@ -6,17 +7,16 @@
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
- * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM AND
- * NOMINUM DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING
- * ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT
- * SHALL INTERNET SOFTWARE CONSORTIUM OR NOMINUM BE LIABLE FOR ANY
+ * THE SOFTWARE IS PROVIDED "AS IS" AND ISC AND NOMINUM DISCLAIMS ALL
+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY
* SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
- * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
- * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-/* $ISC: symtab.c,v 1.3 2001/06/04 19:33:39 tale Exp $ */
+/* $ISC: symtab.c,v 1.3.12.3 2004/03/08 09:05:04 marka Exp $ */
#include <config.h>
@@ -65,10 +65,10 @@ isccc_symtab_create(unsigned int size,
REQUIRE(symtabp != NULL && *symtabp == NULL);
REQUIRE(size > 0); /* Should be prime. */
- symtab = malloc(sizeof *symtab);
+ symtab = malloc(sizeof(*symtab));
if (symtab == NULL)
return (ISC_R_NOMEMORY);
- symtab->table = malloc(size * sizeof (eltlist_t));
+ symtab->table = malloc(size * sizeof(eltlist_t));
if (symtab->table == NULL) {
free(symtab);
return (ISC_R_NOMEMORY);
@@ -220,7 +220,7 @@ isccc_symtab_define(isccc_symtab_t *symtab, char *key, unsigned int type,
elt->value,
symtab->undefine_arg);
} else {
- elt = malloc(sizeof *elt);
+ elt = malloc(sizeof(*elt));
if (elt == NULL)
return (ISC_R_NOMEMORY);
ISC_LINK_INIT(elt, link);