summaryrefslogtreecommitdiff
path: root/usr.bin/find/extern.h
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2014-05-18 08:10:01 +0000
committerMarc Espie <espie@cvs.openbsd.org>2014-05-18 08:10:01 +0000
commitca2bb4374aeb6d129f5f9e94e69dbad382f7792c (patch)
treef7d9d40c0d466b826aaf7953ba0e9a3e22cbe006 /usr.bin/find/extern.h
parentbf73e6ad642681c23ce61a4a312483138e3811e2 (diff)
use reallocarray
okay chl@, tedu@
Diffstat (limited to 'usr.bin/find/extern.h')
-rw-r--r--usr.bin/find/extern.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/find/extern.h b/usr.bin/find/extern.h
index 85efd1cb0e5..b1d90ab402b 100644
--- a/usr.bin/find/extern.h
+++ b/usr.bin/find/extern.h
@@ -1,4 +1,4 @@
-/* * $OpenBSD: extern.h,v 1.18 2012/12/05 23:20:25 deraadt Exp $*/
+/* * $OpenBSD: extern.h,v 1.19 2014/05/18 08:10:00 espie Exp $*/
/*-
* Copyright (c) 1991, 1993
* The Regents of the University of California. All rights reserved.
@@ -31,7 +31,8 @@
*/
void brace_subst(char *, char **, char *, int);
-void *emalloc(unsigned int);
+void *emalloc(size_t);
+void *ereallocarray(void *, size_t, size_t);
PLAN *find_create(char ***);
int find_execute(PLAN *, char **);
PLAN *find_formplan(char **);