From bb5a85a5d7cebbdd76230c23e0cc32e59d441e62 Mon Sep 17 00:00:00 2001 From: Hartmut Brandt Date: Mon, 23 May 2005 13:27:52 +0000 Subject: [PATCH] Make the ArgArray_Init() function visible to the rest of make. It will soon be needed for the .SHELL parsing code. --- usr.bin/make/str.c | 2 +- usr.bin/make/str.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/usr.bin/make/str.c b/usr.bin/make/str.c index 4c508b8084e..288df8c11dd 100644 --- a/usr.bin/make/str.c +++ b/usr.bin/make/str.c @@ -57,7 +57,7 @@ __FBSDID("$FreeBSD$"); * (size + 1) since we need space for the terminating NULL. The * buffer is set to NULL, since no common buffer is alloated yet. */ -static void +void ArgArray_Init(ArgArray *aa) { diff --git a/usr.bin/make/str.h b/usr.bin/make/str.h index 8f74f767b13..e8cf10cc648 100644 --- a/usr.bin/make/str.h +++ b/usr.bin/make/str.h @@ -67,6 +67,7 @@ typedef struct ArgArray { #define STR_ADDSPACE 0x01 /* add a space when Str_Concat'ing */ #define STR_ADDSLASH 0x04 /* add a slash when Str_Concat'ing */ +void ArgArray_Init(ArgArray *); void ArgArray_Done(ArgArray *); char *str_concat(const char *, const char *, int);