summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2018-03-15 07:51:06 -0700
committerBehdad Esfahbod <behdad@behdad.org>2018-03-15 07:51:06 -0700
commit58f52853d5689e897525a5926c1a222340d3f404 (patch)
tree3a5ce21df58fbf2a868de62437eba64fed6ff4c6 /test
parent2938e4d72da40f6bb0d22086c519a9852a820f40 (diff)
Minor: fix warnings
Diffstat (limited to 'test')
-rw-r--r--test/test-name-parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test-name-parse.c b/test/test-name-parse.c
index 0adb525c..7382360d 100644
--- a/test/test-name-parse.c
+++ b/test/test-name-parse.c
@@ -1,7 +1,7 @@
#include <fontconfig/fontconfig.h>
#include <stdio.h>
-int
+static int
test (const FcChar8 *query, const FcPattern *expect)
{
FcPattern *pat;
@@ -26,7 +26,7 @@ bail:
int
main (void)
{
- FcPattern *pat, *expect;
+ FcPattern *expect;
int c = 0, ret;
BEGIN (expect) {