summaryrefslogtreecommitdiff
path: root/parse/export.c
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2017-07-09 10:18:26 -0700
committerOri Bernstein <ori@eigenstate.org>2017-07-09 10:18:26 -0700
commit95f4d0b36eb2d25889eed6ab48fb025d5b346b67 (patch)
treed5e206f2a9c6713c193911370958826928c91294 /parse/export.c
parent25d91f98a97df36e1da381b273219ceedf256a4d (diff)
downloadmc-95f4d0b36eb2d25889eed6ab48fb025d5b346b67.tar.gz
Style(9)-ify.
Diffstat (limited to 'parse/export.c')
-rw-r--r--parse/export.c18
1 files changed, 12 insertions, 6 deletions
diff --git a/parse/export.c b/parse/export.c
index 4f67019..0963361 100644
--- a/parse/export.c
+++ b/parse/export.c
@@ -18,7 +18,8 @@
static void tagtype(Stab *st, Type *t, int ingeneric, int hidelocal);
static void tagnode(Stab *st, Node *n, int ingeneric, int hidelocal);
-void tagreflect(Type *t)
+void
+tagreflect(Type *t)
{
size_t i;
@@ -46,7 +47,8 @@ void tagreflect(Type *t)
}
}
-static void tagtrait(Stab *st, Trait *tr, int ingeneric, int hidelocal)
+static void
+tagtrait(Stab *st, Trait *tr, int ingeneric, int hidelocal)
{
size_t i;
@@ -64,7 +66,8 @@ static void tagtrait(Stab *st, Trait *tr, int ingeneric, int hidelocal)
tagnode(st, tr->proto[i], ingeneric, hidelocal);
}
-static void tagtype(Stab *st, Type *t, int ingeneric, int hidelocal)
+static void
+tagtype(Stab *st, Type *t, int ingeneric, int hidelocal)
{
size_t i;
@@ -100,7 +103,8 @@ static void tagtype(Stab *st, Type *t, int ingeneric, int hidelocal)
}
}
-int isexportinit(Node *n)
+int
+isexportinit(Node *n)
{
if (n->decl.isgeneric && !n->decl.trait)
return 1;
@@ -110,7 +114,8 @@ int isexportinit(Node *n)
return 0;
}
-static void tagnode(Stab *st, Node *n, int ingeneric, int hidelocal)
+static void
+tagnode(Stab *st, Node *n, int ingeneric, int hidelocal)
{
size_t i;
Node *d;
@@ -201,7 +206,8 @@ static void tagnode(Stab *st, Node *n, int ingeneric, int hidelocal)
}
}
-void tagexports(Node *file, int hidelocal)
+void
+tagexports(Node *file, int hidelocal)
{
size_t i, j, n;
Trait *tr;