summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/buf.c
diff options
context:
space:
mode:
authorjmallett <jmallett@FreeBSD.org>2002-09-17 21:29:06 +0000
committerjmallett <jmallett@FreeBSD.org>2002-09-17 21:29:06 +0000
commit64620c0f765340361b6e1714f4b25e815271c95e (patch)
treee486dca4f9bd4c33083e88473624273b6c450c4d /usr.bin/make/buf.c
parenta336071222c6757d8ada53c28f4d6743131fb475 (diff)
downloadFreeBSD-src-64620c0f765340361b6e1714f4b25e815271c95e.zip
FreeBSD-src-64620c0f765340361b6e1714f4b25e815271c95e.tar.gz
#define<space> -> #define<tab>
Diffstat (limited to 'usr.bin/make/buf.c')
-rw-r--r--usr.bin/make/buf.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/make/buf.c b/usr.bin/make/buf.c
index 26d4890..eb6b8cb 100644
--- a/usr.bin/make/buf.c
+++ b/usr.bin/make/buf.c
@@ -52,7 +52,7 @@ __FBSDID("$FreeBSD$");
#include "buf.h"
#ifndef max
-#define max(a,b) ((a) > (b) ? (a) : (b))
+#define max(a,b) ((a) > (b) ? (a) : (b))
#endif
/*
@@ -62,7 +62,7 @@ __FBSDID("$FreeBSD$");
* Makes sure there's room for an extra NULL byte at the end of the
* buffer in case it holds a string.
*/
-#define BufExpand(bp,nb) \
+#define BufExpand(bp,nb) \
if (bp->left < (nb)+1) {\
int newSize = (bp)->size + max((nb)+1,BUF_ADD_INC); \
Byte *newBuf = (Byte *) erealloc((bp)->buffer, newSize); \
@@ -74,9 +74,9 @@ __FBSDID("$FreeBSD$");
(bp)->left = newSize - ((bp)->inPtr - (bp)->buffer);\
}
-#define BUF_DEF_SIZE 256 /* Default buffer size */
-#define BUF_ADD_INC 256 /* Expansion increment when Adding */
-#define BUF_UNGET_INC 16 /* Expansion increment when Ungetting */
+#define BUF_DEF_SIZE 256 /* Default buffer size */
+#define BUF_ADD_INC 256 /* Expansion increment when Adding */
+#define BUF_UNGET_INC 16 /* Expansion increment when Ungetting */
/*-
*-----------------------------------------------------------------------
OpenPOWER on IntegriCloud