summaryrefslogtreecommitdiff
path: root/bin/ksh/table.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-03-28 21:28:23 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-03-28 21:28:23 +0000
commit4e63f1bcc0ba4da4985d5da15a9f28f8d4eba961 (patch)
treeb4e7d1eabc575b509ebbe559be3338f48034ea85 /bin/ksh/table.c
parentd06dd80c342c99af51157fd86c5aa44fa5500551 (diff)
spacing
Diffstat (limited to 'bin/ksh/table.c')
-rw-r--r--bin/ksh/table.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/bin/ksh/table.c b/bin/ksh/table.c
index a27cf38c685..d3251870dbb 100644
--- a/bin/ksh/table.c
+++ b/bin/ksh/table.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: table.c,v 1.9 2004/12/20 11:34:26 otto Exp $ */
+/* $OpenBSD: table.c,v 1.10 2005/03/28 21:28:22 deraadt Exp $ */
/*
* dynamic hashed associative table for commands and variables
@@ -65,11 +65,11 @@ texpand(struct table *tp, int nsize)
afree((void*)otblp, tp->areap);
}
+/* table */
+/* name to enter */
+/* hash(n) */
struct tbl *
tsearch(struct table *tp, const char *n, unsigned int h)
- /* table */
- /* name to enter */
- /* hash(n) */
{
struct tbl **pp, *p;
@@ -88,11 +88,11 @@ tsearch(struct table *tp, const char *n, unsigned int h)
return NULL;
}
+/* table */
+/* name to enter */
+/* hash(n) */
struct tbl *
tenter(struct table *tp, const char *n, unsigned int h)
- /* table */
- /* name to enter */
- /* hash(n) */
{
struct tbl **pp, *p;
int len;