aboutsummaryrefslogtreecommitdiffstats
path: root/rdoff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2014-11-25 12:35:03 -0800
committerH. Peter Anvin <hpa@zytor.com>2014-11-25 12:35:16 -0800
commit31bcb6f866c4edeeccccbfad7b3ef377e1ba9775 (patch)
treedaabaf6b105d7289a603e6661c569a8535ec5307 /rdoff
parentb06da211f4a6585258157ffd38f272c48a6eae29 (diff)
downloadnasm-31bcb6f866c4edeeccccbfad7b3ef377e1ba9775.tar.gz
nasm-31bcb6f866c4edeeccccbfad7b3ef377e1ba9775.tar.xz
nasm-31bcb6f866c4edeeccccbfad7b3ef377e1ba9775.zip
Add missing static declarations in rdoff/rdoff.c
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'rdoff')
-rw-r--r--rdoff/rdoff.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/rdoff/rdoff.c b/rdoff/rdoff.c
index 3c7b3360..f451ce12 100644
--- a/rdoff/rdoff.c
+++ b/rdoff/rdoff.c
@@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------- *
*
- * Copyright 1996-2009 The NASM Authors - All Rights Reserved
+ * Copyright 1996-2014 The NASM Authors - All Rights Reserved
* See the file AUTHORS included with the NASM distribution for
* the specific copyright holders.
*
@@ -69,7 +69,7 @@
* how int32_t it is).
* ======================================================================== */
-memorybuffer *newmembuf()
+static memorybuffer *newmembuf()
{
memorybuffer *t;
@@ -82,7 +82,7 @@ memorybuffer *newmembuf()
return t;
}
-void membufwrite(memorybuffer * const b, void *data, int bytes)
+static void membufwrite(memorybuffer * const b, void *data, int bytes)
{
uint16_t w;
int32_t l;
@@ -130,7 +130,7 @@ void membufwrite(memorybuffer * const b, void *data, int bytes)
}
}
-void membufdump(memorybuffer * b, FILE * fp)
+static void membufdump(memorybuffer * b, FILE * fp)
{
if (!b)
return;
@@ -140,14 +140,14 @@ void membufdump(memorybuffer * b, FILE * fp)
membufdump(b->next, fp);
}
-int membuflength(memorybuffer * b)
+static int membuflength(memorybuffer * b)
{
if (!b)
return 0;
return b->length + membuflength(b->next);
}
-void freemembuf(memorybuffer * b)
+static void freemembuf(memorybuffer * b)
{
if (!b)
return;