summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrob <rob@cvs.openbsd.org>2018-06-22 12:27:01 +0000
committerrob <rob@cvs.openbsd.org>2018-06-22 12:27:01 +0000
commit3d790f1f5a14bf1d7558744cabfa59db97213544 (patch)
tree8509a68ba2a9a7bc5cbdc1a555fe749b7f125452
parenta7cc9290945ad165aeb1404c5964ed35d3d04e07 (diff)
Remove unused function.
Ok martijn@, florian@, benno@
-rw-r--r--usr.bin/column/column.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/usr.bin/column/column.c b/usr.bin/column/column.c
index 9453dbacbc5..8477d285fb3 100644
--- a/usr.bin/column/column.c
+++ b/usr.bin/column/column.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: column.c,v 1.25 2016/09/04 20:33:36 martijn Exp $ */
+/* $OpenBSD: column.c,v 1.26 2018/06/22 12:27:00 rob Exp $ */
/* $NetBSD: column.c,v 1.4 1995/09/02 05:53:03 jtc Exp $ */
/*
@@ -46,7 +46,6 @@
void c_columnate(void);
void *ereallocarray(void *, size_t, size_t);
-void *ecalloc(size_t, size_t);
void input(FILE *);
void maketbl(void);
void print(void);
@@ -343,16 +342,6 @@ ereallocarray(void *ptr, size_t nmemb, size_t size)
return ptr;
}
-void *
-ecalloc(size_t nmemb, size_t size)
-{
- void *ptr;
-
- if ((ptr = calloc(nmemb, size)) == NULL)
- err(1, NULL);
- return ptr;
-}
-
__dead void
usage(void)
{