]> git.saurik.com Git - apt.git/blobdiff - apt-private/private-list.h
Move sysconf(_SC_OPEN_MAX); out of the for() loop to avoid unneeded syscalls
[apt.git] / apt-private / private-list.h
index 6f5aad27a8800e043742372f257214df0522b859..aa267776488549e6f7b6a7ee71abec6409a54a6d 100644 (file)
@@ -1,9 +1,11 @@
 #ifndef APT_PRIVATE_LIST_H
 #define APT_PRIVATE_LIST_H
 
-#include <apt-pkg/cmndline.h>
+#include <apt-pkg/macros.h>
 
-bool List(CommandLine &Cmd);
+class CommandLine;
+
+APT_PUBLIC bool DoList(CommandLine &Cmd);
 
 
 #endif