diff --git a/shootout/fasta/Makefile b/shootout/fasta/Makefile
index f6beb8e6887672c0ab5c3d197815b15ddc67063d..97a8b1792a0eb88d83e8ddd910fb65709086e3bc 100644
--- a/shootout/fasta/Makefile
+++ b/shootout/fasta/Makefile
@@ -5,6 +5,8 @@ include $(TOP)/mk/boilerplate.mk
 # we don't want to include fasta-c.c
 SRCS = Main.hs
 
+CLEAN_FILES += fasta-c fasta.faststdout fasta.stdout fasta.slowstdout
+
 FAST_OPTS = 250000
 NORM_OPTS = 2500000
 SLOW_OPTS = 25000000  # official shootout setting
diff --git a/shootout/fasta/fasta-c.c b/shootout/fasta/fasta-c.c
index 5779316face9fc5c917e6f92c778fd7b4fe5b3b1..7219b498e92cefdf8e8ec9b391f3c5cef19f4a31 100644
--- a/shootout/fasta/fasta-c.c
+++ b/shootout/fasta/fasta-c.c
@@ -37,7 +37,7 @@ amino homosapiens[] = {
 #define WIDTH 60
 #define LENGTH(a) (sizeof(a)/sizeof(a[0]))
 
-inline void str_write(char *s) {
+static inline void str_write(char *s) {
    write(fileno(stdout), s, strlen(s));
 }