summaryrefslogtreecommitdiff
path: root/orc/orcprogram-c.c
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2018-04-28 00:06:03 +0100
committerTim-Philipp Müller <tim@centricular.com>2018-04-28 00:26:11 +0100
commit37cca8fe7af921add357d4d584bd94017f52f4ee (patch)
tree3f227e1a377e03eeab90758f8beb98d76365aee9 /orc/orcprogram-c.c
parentcf50348a685323bf94b0daf5660b2ca5faf2e013 (diff)
downloadorc-37cca8fe7af921add357d4d584bd94017f52f4ee.tar.gz
orc: make more functions static
All of these are only used internally and are not in any header files, but were still exported by accident because they start with orc_*.
Diffstat (limited to 'orc/orcprogram-c.c')
-rw-r--r--orc/orcprogram-c.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/orc/orcprogram-c.c b/orc/orcprogram-c.c
index 99b2c8b..0639867 100644
--- a/orc/orcprogram-c.c
+++ b/orc/orcprogram-c.c
@@ -14,7 +14,7 @@ static void c_get_name_int (char *name, OrcCompiler *p, OrcInstruction *insn, in
void orc_c_init (void);
-void
+static void
orc_compiler_c_init (OrcCompiler *compiler)
{
int i;
@@ -99,7 +99,7 @@ orc_target_c_get_typedefs (void)
"\n";
}
-const char *
+static const char *
orc_target_c_get_asm_preamble (void)
{
return "\n"
@@ -146,7 +146,7 @@ orc_target_c_get_asm_preamble (void)
"/* end Orc C target preamble */\n\n";
}
-unsigned int
+static unsigned int
orc_compiler_c_get_default_flags (void)
{
return 0;
@@ -200,7 +200,7 @@ get_varname_stride (char *s, OrcCompiler *compiler, int var)
}
}
-void
+static void
orc_compiler_c_assemble (OrcCompiler *compiler)
{
int i;