summaryrefslogtreecommitdiffstats
path: root/usr.bin/make
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2005-05-23 13:27:52 +0000
committerharti <harti@FreeBSD.org>2005-05-23 13:27:52 +0000
commit6e1ae33f12ffe2a6fd0cb309ff46e3e145e7a6dd (patch)
tree7ef514174f643805a961d11bc34a86a92364f6a4 /usr.bin/make
parent92345ef8b89641bcfbce8c4060b1af8747b09919 (diff)
downloadFreeBSD-src-6e1ae33f12ffe2a6fd0cb309ff46e3e145e7a6dd.zip
FreeBSD-src-6e1ae33f12ffe2a6fd0cb309ff46e3e145e7a6dd.tar.gz
Make the ArgArray_Init() function visible to the rest of make.
It will soon be needed for the .SHELL parsing code.
Diffstat (limited to 'usr.bin/make')
-rw-r--r--usr.bin/make/str.c2
-rw-r--r--usr.bin/make/str.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/make/str.c b/usr.bin/make/str.c
index 4c508b8..288df8c 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 8f74f76..e8cf10c 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);
OpenPOWER on IntegriCloud