From: guenther Date: Fri, 16 Aug 2024 22:58:54 +0000 (+0000) Subject: Delete duplicated x{m,re}alloc() declarations and add argument types X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=f06e49141dbe14ee68d4984cce5000e4c1b74bc5;p=openbsd Delete duplicated x{m,re}alloc() declarations and add argument types to a function pointer definition. ok miod@ --- diff --git a/gnu/usr.bin/texinfo/util/texindex.c b/gnu/usr.bin/texinfo/util/texindex.c index b4a912ee549..ba7eab45ea4 100644 --- a/gnu/usr.bin/texinfo/util/texindex.c +++ b/gnu/usr.bin/texinfo/util/texindex.c @@ -1,5 +1,5 @@ /* texindex -- sort TeX index dribble output into an actual index. - $Id: texindex.c,v 1.6 2015/11/14 23:06:06 deraadt Exp $ + $Id: texindex.c,v 1.7 2024/08/16 22:58:54 guenther Exp $ Copyright (C) 1987, 1991, 1992, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. @@ -143,7 +143,6 @@ int merge_direct (char **infiles, int nfiles, char *outfile); void pfatal_with_name (const char *name); void fatal (const char *format, const char *arg); void error (const char *format, const char *arg); -void *xmalloc (), *xrealloc (); char *concat (char *s1, char *s2); void flush_tempfiles (int to_count); @@ -565,7 +564,7 @@ find_field (struct keyfield *keyfield, char *str, long int *lengthptr) { char *start; char *end; - char *(*fun) (); + char *(*fun) (char *, int, int, int); if (keyfield->braced) fun = find_braced_pos;