Commit-ID: ad2acd7754dbfb3db6756bb338c3cc3bbdbe3bb0
Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=ad2acd7754dbfb3db6756bb338c3cc3bbdbe3bb0
Author: H. Peter Anvin <hp...@zy...>
AuthorDate: Tue, 25 Nov 2014 12:35:29 -0800
Committer: H. Peter Anvin <hp...@zy...>
CommitDate: Tue, 25 Nov 2014 12:35:29 -0800
Add missing static declarations in rdoff/segtab.c
Signed-off-by: H. Peter Anvin <hp...@zy...>
---
rdoff/segtab.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/rdoff/segtab.c b/rdoff/segtab.c
index 4a4c5b8..ab162a9 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;
|