]> git.saurik.com Git - apt.git/blobdiff - test/libapt/getlistoffilesindir_test.cc
mark optional (private) symbols as hidden
[apt.git] / test / libapt / getlistoffilesindir_test.cc
index ed8d2dad6c394f3936660e0a786da01f68d711d5..df125fc83f01a6754a2660aa0fbb9344d38e35ce 100644 (file)
@@ -1,20 +1,14 @@
+#include <config.h>
+
 #include <apt-pkg/fileutl.h>
 
-#include "assert.h"
 #include <string>
 #include <vector>
-
-#include <stdio.h>
 #include <iostream>
 
-// simple helper to quickly output a vector of strings
-void dumpVector(std::vector<std::string> vec) {
-       for (std::vector<std::string>::const_iterator v = vec.begin();
-            v != vec.end(); v++)
-               std::cout << *v << std::endl;
-}
+#include "assert.h"
 
-#define P(x)   string(argv[1]).append("/").append(x)
+#define P(x)   std::string(argv[1]).append("/").append(x)
 
 int main(int argc,char *argv[])
 {