summaryrefslogtreecommitdiff
path: root/test/interactive-helper/testdeb.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2014-02-27 03:11:54 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2014-03-13 13:58:45 +0100
commitc3ccac9232c2684b15f75fa8622a9a290aeca123 (patch)
tree26f100be934b8d63ac2d325406b8411ce69cda8d /test/interactive-helper/testdeb.cc
parente788a834ce421042e727b72e43177edaa47e53a7 (diff)
warning: no previous declaration for foobar() [-Wmissing-declarations]
Git-Dch: Ignore Reported-By: gcc -Wmissing-declarations
Diffstat (limited to 'test/interactive-helper/testdeb.cc')
-rw-r--r--test/interactive-helper/testdeb.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/interactive-helper/testdeb.cc b/test/interactive-helper/testdeb.cc
index d28f20114..89375af13 100644
--- a/test/interactive-helper/testdeb.cc
+++ b/test/interactive-helper/testdeb.cc
@@ -9,7 +9,7 @@ class NullStream : public pkgDirStream
virtual bool DoItem(Item &Itm,int &Fd) {return true;};
};
-bool Test(const char *File)
+static bool Test(const char *File)
{
FileFd Fd(File,FileFd::ReadOnly);
debDebFile Deb(Fd);