warning: no previous declaration for foobar() [-Wmissing-declarations]
[ntk/apt.git] / test / libapt / sourcelist_test.cc
index 0300ce9..e79b6d6 100644 (file)
@@ -9,7 +9,7 @@
 char *tempfile = NULL;
 int tempfile_fd = -1;
 
-void remove_tmpfile(void)
+static void remove_tmpfile(void)
 {
    if (tempfile_fd > 0)
       close(tempfile_fd);