aboutsummaryrefslogtreecommitdiff
path: root/penrose.c
diff options
context:
space:
mode:
Diffstat (limited to 'penrose.c')
-rw-r--r--penrose.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/penrose.c b/penrose.c
index 4015ef7..b056ae5 100644
--- a/penrose.c
+++ b/penrose.c
@@ -512,7 +512,7 @@ void penrose_calculate_size(int which, int tilesize, int w, int h,
int show_recursion = 0;
int ntiles, nfinal;
-int test_cb(penrose_state *state, vector *vs, int n, int depth)
+static int test_cb(penrose_state *state, vector *vs, int n, int depth)
{
int i, xoff = 0, yoff = 0;
double l = penrose_side_length(state->start_size, depth);
@@ -542,7 +542,7 @@ int test_cb(penrose_state *state, vector *vs, int n, int depth)
return 0;
}
-void usage_exit(void)
+static void usage_exit(void)
{
fprintf(stderr, "Usage: penrose-test [--recursion] P2|P3 SIZE DEPTH\n");
exit(1);