]> git.saurik.com Git - apt.git/blame - apt-private/private-utils.h
Move sysconf(_SC_OPEN_MAX); out of the for() loop to avoid unneeded syscalls
[apt.git] / apt-private / private-utils.h
CommitLineData
cfacba52
MV
1#ifndef APT_PRIVATE_UTILS_H
2#define APT_PRIVATE_UTILS_H
3
63ff4208 4#include <apt-pkg/macros.h>
cfacba52 5
63ff4208
DK
6#include <string>
7
22da5c13
DK
8APT_PUBLIC void DisplayFileInPager(std::string const &filename);
9APT_PUBLIC void EditFileInSensibleEditor(std::string const &filename);
cfacba52 10
cfacba52 11#endif