aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2/arch/common
diff options
context:
space:
mode:
authorLeandro A. F. Pereira <leandro@hardinfo.org>2007-01-02 23:15:08 +0000
committerLeandro A. F. Pereira <leandro@hardinfo.org>2007-01-02 23:15:08 +0000
commitacc6e48b81d48b084393809110c8949c6782021f (patch)
tree24425ebe5bfbab63eb90e4dbedce6742cfbcc78f /hardinfo2/arch/common
parent43d4be36dd06b69f8ac126c7dcc8c259b0544f7b (diff)
Implemented new module API. Needs cleanups.
Diffstat (limited to 'hardinfo2/arch/common')
-rw-r--r--hardinfo2/arch/common/printers.h2
-rw-r--r--hardinfo2/arch/common/users.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/hardinfo2/arch/common/printers.h b/hardinfo2/arch/common/printers.h
index 3bb98f4c..b467f5a0 100644
--- a/hardinfo2/arch/common/printers.h
+++ b/hardinfo2/arch/common/printers.h
@@ -17,7 +17,7 @@
*/
void
-scan_printers(void)
+__scan_printers(void)
{
static GModule *cups = NULL;
static int (*cupsGetPrinters) (char ***printers) = NULL;
diff --git a/hardinfo2/arch/common/users.h b/hardinfo2/arch/common/users.h
index 08acd97a..84cec9d9 100644
--- a/hardinfo2/arch/common/users.h
+++ b/hardinfo2/arch/common/users.h
@@ -14,7 +14,8 @@ remove_users(gpointer key, gpointer value, gpointer data)
return FALSE;
}
-void scan_users(void)
+static void
+scan_users_do(void)
{
FILE *passwd;
char buffer[512];