From acc6e48b81d48b084393809110c8949c6782021f Mon Sep 17 00:00:00 2001 From: "Leandro A. F. Pereira" Date: Tue, 2 Jan 2007 23:15:08 +0000 Subject: Implemented new module API. Needs cleanups. --- hardinfo2/arch/common/printers.h | 2 +- hardinfo2/arch/common/users.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'hardinfo2/arch/common') 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]; -- cgit v1.2.3