=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/make/buf.h,v retrieving revision 1.23 retrieving revision 1.24 diff -c -r1.23 -r1.24 *** src/usr.bin/make/buf.h 2019/12/21 15:26:47 1.23 --- src/usr.bin/make/buf.h 2020/01/13 13:54:44 1.24 *************** *** 1,7 **** #ifndef _BUF_H #define _BUF_H ! /* $OpenBSD: buf.h,v 1.23 2019/12/21 15:26:47 espie Exp $ */ /* $NetBSD: buf.h,v 1.7 1996/12/31 17:53:22 christos Exp $ */ /* --- 1,7 ---- #ifndef _BUF_H #define _BUF_H ! /* $OpenBSD: buf.h,v 1.24 2020/01/13 13:54:44 espie Exp $ */ /* $NetBSD: buf.h,v 1.7 1996/12/31 17:53:22 christos Exp $ */ /* *************** *** 106,111 **** --- 106,114 ---- * Initializes a buffer, to hold approximately init chars. * Set init to 0 if you have no idea. */ extern void Buf_Init(Buffer, size_t); + /* Buf_Reinit(buf, init); + * Initializes/reset a static buffer */ + extern void Buf_Reinit(Buffer, size_t); /* Buf_Destroy(buf); * Nukes a buffer and all its resources. */ #define Buf_Destroy(bp) ((void)free((bp)->buffer))