]> git.saurik.com Git - apt.git/blobdiff - apt-private/private-utils.h
drop privileges in file:// method as we do for decompressors
[apt.git] / apt-private / private-utils.h
index 258dd06a8becf2636f65b152dd1dd5ea1797f7ec..8ba480bd4030b1d6d3109d516ccdba1c52cce4ba 100644 (file)
@@ -1,11 +1,11 @@
 #ifndef APT_PRIVATE_UTILS_H
 #define APT_PRIVATE_UTILS_H
 
-#include<string>
-
-void DisplayFileInPager(std::string filename);
-void EditFileInSensibleEditor(std::string filename);
+#include <apt-pkg/macros.h>
 
+#include <string>
 
+APT_PUBLIC void DisplayFileInPager(std::string const &filename);
+APT_PUBLIC void EditFileInSensibleEditor(std::string const &filename);
 
 #endif