From e70d17c5a02aa9de6663c77bc64ef053b02586fc Mon Sep 17 00:00:00 2001 From: "Leandro A. F. Pereira" Date: Wed, 25 Jun 2008 14:20:46 +0000 Subject: Remove unneeded enumerations. --- hardinfo2/computer.c | 13 ------------- hardinfo2/devices.c | 15 --------------- 2 files changed, 28 deletions(-) (limited to 'hardinfo2') diff --git a/hardinfo2/computer.c b/hardinfo2/computer.c index 131898bb..f86b9e63 100644 --- a/hardinfo2/computer.c +++ b/hardinfo2/computer.c @@ -31,19 +31,6 @@ #include -enum { - COMPUTER_SUMMARY, - COMPUTER_OPERATING_SYSTEM, - COMPUTER_KERNEL_MODULES, - COMPUTER_BOOTS, - COMPUTER_LANGUAGE, - COMPUTER_FILESYSTEMS, - COMPUTER_SHARES, - COMPUTER_DISPLAY, - COMPUTER_NETWORK, - COMPUTER_USERS, -} Entries; - /* Callbacks */ gchar *callback_summary(); gchar *callback_os(); diff --git a/hardinfo2/devices.c b/hardinfo2/devices.c index 21f1f8a3..b866ed44 100644 --- a/hardinfo2/devices.c +++ b/hardinfo2/devices.c @@ -28,21 +28,6 @@ #include #include -enum { - DEVICES_PROCESSORS, - DEVICES_MEMORY, - DEVICES_PCI, - DEVICES_USB, - DEVICES_PRINTERS, - DEVICES_BATTERY, - DEVICES_SENSORS, -#if defined(ARCH_i386) || defined(ARCH_x86_64) - DEVICES_DMI, -#endif - DEVICES_INPUT, - DEVICES_STORAGE, -} Entries; - gchar *callback_processors(); gchar *callback_memory(); gchar *callback_battery(); -- cgit v1.2.3