aboutsummaryrefslogtreecommitdiffstats
path: root/rdoff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2014-11-25 12:35:29 -0800
committerH. Peter Anvin <hpa@zytor.com>2014-11-25 12:35:29 -0800
commitad2acd7754dbfb3db6756bb338c3cc3bbdbe3bb0 (patch)
tree199f644e7c7daf2806c0e75d68933221282f8c8f /rdoff
parent31bcb6f866c4edeeccccbfad7b3ef377e1ba9775 (diff)
downloadnasm-ad2acd7754dbfb3db6756bb338c3cc3bbdbe3bb0.tar.gz
nasm-ad2acd7754dbfb3db6756bb338c3cc3bbdbe3bb0.tar.xz
nasm-ad2acd7754dbfb3db6756bb338c3cc3bbdbe3bb0.zip
Add missing static declarations in rdoff/segtab.c
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'rdoff')
-rw-r--r--rdoff/segtab.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/rdoff/segtab.c b/rdoff/segtab.c
index 4a4c5b80..ab162a9f 100644
--- a/rdoff/segtab.c
+++ b/rdoff/segtab.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.
*
@@ -70,7 +70,7 @@ void init_seglocations(segtab * root)
*root = NULL;
}
-void descend_tree_add(struct segtabnode **node,
+static void descend_tree_add(struct segtabnode **node,
int localseg, int destseg, int32_t offset)
{
struct segtabnode *n;
@@ -143,7 +143,7 @@ int get_seglocation(segtab * root, int localseg, int *destseg,
return 0;
}
-void freenode(struct segtabnode *n)
+static void freenode(struct segtabnode *n)
{
if (!n)
return;