summaryrefslogtreecommitdiff
path: root/usr.sbin/config/config.h
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2014-05-18 09:29:55 +0000
committerMarc Espie <espie@cvs.openbsd.org>2014-05-18 09:29:55 +0000
commit1316f4e542f9b5db2e5732e47dd82e2712964b82 (patch)
treec745758a118954dfb2bf43d9ea7dfd79066b8bcb /usr.sbin/config/config.h
parent1a12546198bb995b1939cea93e30a7b32f18d788 (diff)
use reallocarray and friends. okay miod@
Diffstat (limited to 'usr.sbin/config/config.h')
-rw-r--r--usr.sbin/config/config.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/config/config.h b/usr.sbin/config/config.h
index 49d2b373141..f078f586afd 100644
--- a/usr.sbin/config/config.h
+++ b/usr.sbin/config/config.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: config.h,v 1.26 2013/10/29 15:37:56 espie Exp $ */
+/* $OpenBSD: config.h,v 1.27 2014/05/18 09:29:54 espie Exp $ */
/* $NetBSD: config.h,v 1.30 1997/02/02 21:12:30 thorpej Exp $ */
/*
@@ -369,7 +369,8 @@ void initsem(void);
/* util.c */
void *emalloc(size_t);
-void *erealloc(void *, size_t);
+void *ereallocarray(void *, size_t, size_t);
+void *ecalloc(size_t, size_t);
char *sourcepath(const char *);
void error(const char *, ...); /* immediate errs */
void xerror(const char *, int, const char *, ...); /* delayed errs */