summaryrefslogtreecommitdiff
path: root/dselect/method.cc
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2009-01-04 16:31:13 +0200
committerGuillem Jover <guillem@debian.org>2009-01-04 16:31:13 +0200
commitef091557f01d8f5751531b5fc4ab68b55d657109 (patch)
tree8952be0026a3d0e58e7df4fabab31986e1d91026 /dselect/method.cc
parentc5ab80941dc42cdaae0f89aab5e182c3eb2154b4 (diff)
downloaddpkg-ef091557f01d8f5751531b5fc4ab68b55d657109.tar.gz
dselect: Define several private functions as static
Diffstat (limited to 'dselect/method.cc')
-rw-r--r--dselect/method.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/dselect/method.cc b/dselect/method.cc
index 1ab2ccae9..3ec9e40fc 100644
--- a/dselect/method.cc
+++ b/dselect/method.cc
@@ -58,7 +58,9 @@ static const char *const methoddirectories[]= {
static char *methodlockfile= 0;
static int methlockfd= -1;
-void sthfailed(const char * reasoning) {
+static void
+sthfailed(const char * reasoning)
+{
char buf[2048];
curseson();