Module Name: src Committed By: nia Date: Wed Apr 24 15:47:12 UTC 2024
Modified Files: src/bin/csh: csh.h Log Message: csh: add a helper definition for the reallocarray function To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/bin/csh/csh.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/bin/csh/csh.h diff -u src/bin/csh/csh.h:1.29 src/bin/csh/csh.h:1.30 --- src/bin/csh/csh.h:1.29 Fri Apr 3 18:11:29 2020 +++ src/bin/csh/csh.h Wed Apr 24 15:47:11 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: csh.h,v 1.29 2020/04/03 18:11:29 joerg Exp $ */ +/* $NetBSD: csh.h,v 1.30 2024/04/24 15:47:11 nia Exp $ */ /*- * Copyright (c) 1980, 1991, 1993 @@ -86,6 +86,7 @@ typedef void *ioctl_t; /* Third arg of #define xmalloc(i) Malloc(i) #define xrealloc(p, i) Realloc(p, i) +#define xreallocarray(p, n, sz) Reallocarray(p, n, sz) #define xcalloc(n, s) Calloc(n, s) #include <stdio.h>