diff options
author | rdivacky <rdivacky@FreeBSD.org> | 2009-01-20 17:15:12 +0000 |
---|---|---|
committer | rdivacky <rdivacky@FreeBSD.org> | 2009-01-20 17:15:12 +0000 |
commit | 22410c51dbff14ac31a46d73234ed2fe380df2c1 (patch) | |
tree | 48dd169701c2c4f3ae9322969bb59cd404eb52ff /usr.bin/make/buf.c | |
parent | 19686e364d4eaa10fb7ddc1226b367ef47a22480 (diff) | |
download | FreeBSD-src-22410c51dbff14ac31a46d73234ed2fe380df2c1.zip FreeBSD-src-22410c51dbff14ac31a46d73234ed2fe380df2c1.tar.gz |
Remove inlining of functions that are used mostly in different object files.
This gets rid of gnu89 style inlining. Also silence gcc by assigning two
variables NULL. This lets use to remove NO_WERROR.
Approved by: kib (mentor)
Approved by: harti
Diffstat (limited to 'usr.bin/make/buf.c')
-rw-r--r-- | usr.bin/make/buf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/make/buf.c b/usr.bin/make/buf.c index 6453abf..7c6c01f 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) { |