summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2024-08-16 22:58:55 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2024-08-16 22:58:55 +0000
commitec6195e87a51727fcbe5f6b6ada676488b6a006d (patch)
tree18e4c6aefac1a4b8153b4cb7ff193a65cdc51ca2 /gnu
parent97108ceccd1db86967f2d5524733ef15b96aa983 (diff)
Delete duplicated x{m,re}alloc() declarations and add argument types
to a function pointer definition. ok miod@
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/texinfo/util/texindex.c5
1 files changed, 2 insertions, 3 deletions
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;