aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/make
diff options
context:
space:
mode:
authorRoman Divacky <rdivacky@FreeBSD.org>2009-01-20 17:15:12 +0000
committerRoman Divacky <rdivacky@FreeBSD.org>2009-01-20 17:15:12 +0000
commit3f8760e331c29aa69bf7c9d455762ab4fdf510b2 (patch)
tree48dd169701c2c4f3ae9322969bb59cd404eb52ff /usr.bin/make
parent39e4a02c16ee878c8736ad9e02f26ed9cfb18be5 (diff)
Notes
Diffstat (limited to 'usr.bin/make')
-rw-r--r--usr.bin/make/Makefile1
-rw-r--r--usr.bin/make/buf.c6
-rw-r--r--usr.bin/make/suff.c1
3 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/make/Makefile b/usr.bin/make/Makefile
index e5be06dc75d0..deb076f90104 100644
--- a/usr.bin/make/Makefile
+++ b/usr.bin/make/Makefile
@@ -8,7 +8,6 @@ SRCS= arch.c buf.c cond.c dir.c for.c hash.c hash_tables.c job.c \
lst.c main.c make.c parse.c proc.c shell.c str.c suff.c targ.c \
util.c var.c
-NO_WERROR=
WARNS?= 6
NO_SHARED?= YES
diff --git a/usr.bin/make/buf.c b/usr.bin/make/buf.c
index 6453abf5f8fa..7c6c01f4eb2a 100644
--- a/usr.bin/make/buf.c
+++ b/usr.bin/make/buf.c
@@ -58,7 +58,7 @@ __FBSDID("$FreeBSD$");
* Returns the number of bytes in the buffer. Doesn't include the
* null-terminating byte.
*/
-inline size_t
+size_t
Buf_Size(const Buffer *buf)
{
@@ -70,7 +70,7 @@ Buf_Size(const Buffer *buf)
*
* @note Adding data to the Buffer object may invalidate the reference.
*/
-inline char *
+char *
Buf_Data(const Buffer *bp)
{
@@ -98,7 +98,7 @@ BufExpand(Buffer *bp, size_t nb)
/**
* Add a single byte to the buffer.
*/
-inline void
+void
Buf_AddByte(Buffer *bp, Byte byte)
{
diff --git a/usr.bin/make/suff.c b/usr.bin/make/suff.c
index 6963d4e19fb5..bed6c7a43938 100644
--- a/usr.bin/make/suff.c
+++ b/usr.bin/make/suff.c
@@ -514,6 +514,7 @@ Suff_AddTransform(char *line)
Suff *s; /* source suffix */
Suff *t; /* target suffix */
+ s = t = NULL; /* silence gcc */
gn = SuffTransFind(line);
if (gn == NULL) {
/*