summaryrefslogtreecommitdiff
path: root/src/runtime/c/pgf/printer.c
diff options
context:
space:
mode:
authorkrasimir <krasimir@chalmers.se>2017-04-19 09:34:23 +0000
committerkrasimir <krasimir@chalmers.se>2017-04-19 09:34:23 +0000
commit7d72d99c2f7fc228d71df627a10a2ff776335b2b (patch)
treef4629cb53ba213a56f3f8faddae3cc77595c077a /src/runtime/c/pgf/printer.c
parent33ec916c9c8a7656583ef31947c5ff81b029d3a7 (diff)
explicitly classify all functions in libpgf as either internal or API functions
Diffstat (limited to 'src/runtime/c/pgf/printer.c')
-rw-r--r--src/runtime/c/pgf/printer.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/runtime/c/pgf/printer.c b/src/runtime/c/pgf/printer.c
index 6b82986f3..0976242e0 100644
--- a/src/runtime/c/pgf/printer.c
+++ b/src/runtime/c/pgf/printer.c
@@ -6,7 +6,7 @@ typedef struct {
GuOut* out;
} PgfPrintFn;
-void
+static void
pgf_print_flags(PgfFlags* flags, GuOut *out, GuExn* err)
{
size_t n_flags = gu_seq_length(flags);
@@ -21,7 +21,7 @@ pgf_print_flags(PgfFlags* flags, GuOut *out, GuExn* err)
}
}
-void
+static void
pgf_print_abscats(PgfAbsCats* abscats, GuOut *out, GuExn* err)
{
size_t n_cats = gu_seq_length(abscats);
@@ -49,7 +49,7 @@ pgf_print_abscats(PgfAbsCats* abscats, GuOut *out, GuExn* err)
}
}
-void
+static void
pgf_print_absfuns(PgfAbsFuns* absfuns, GuOut *out, GuExn* err)
{
size_t n_funs = gu_seq_length(absfuns);
@@ -215,7 +215,7 @@ pgf_print_token(PgfToken tok, GuOut *out, GuExn *err)
static void
pgf_print_symbols(PgfSymbols* syms, GuOut *out, GuExn *err);
-void
+PGF_INTERNAL void
pgf_print_symbol(PgfSymbol sym, GuOut *out, GuExn *err)
{
switch (gu_variant_tag(sym)) {
@@ -378,7 +378,7 @@ pgf_print_concrete(PgfConcr* concr, GuOut* out, GuExn* err)
gu_puts("}\n", out, err);
}
-void
+PGF_API void
pgf_print(PgfPGF* pgf, GuOut* out, GuExn* err)
{
pgf_print_abstract(&pgf->abstract, out, err);