Skip to content

Commit d595f7c

Browse files
committed
Fix compilation on gcc-15
Fixes #6.
1 parent 682b68a commit d595f7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/xstrdup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#else
2525
# include <strings.h>
2626
#endif
27-
char *xmalloc ();
27+
char *xmalloc (size_t n);
2828

2929
/* Return a newly allocated copy of STRING. */
3030

0 commit comments

Comments
 (0)