View | Details | Raw Unified | Return to bug 33806
Collapse All | Expand All

(-)a/hardinfo/dt_util.c (+3 lines)
Lines 29-34 Link Here
29
#include "dt_util.h"
29
#include "dt_util.h"
30
#include "appf.h"
30
#include "appf.h"
31
31
32
/* Prototype */
33
int dtr_inh_find(dtr_obj *, char *, int);
34
32
static struct {
35
static struct {
33
    char *name; int type;
36
    char *name; int type;
34
} prop_types[] = {
37
} prop_types[] = {
(-)a/modules/benchmark/bench_results.c (+3 lines)
Lines 21-26 Link Here
21
#include <inttypes.h>
21
#include <inttypes.h>
22
#include <json-glib/json-glib.h>
22
#include <json-glib/json-glib.h>
23
23
24
/* Suppress implicit declaration warnings */
25
extern int cpu_procs_cores_threads(int *p, int *c, int *t);
26
24
/* in dmi_memory.c */
27
/* in dmi_memory.c */
25
uint64_t memory_devices_get_system_memory_MiB();
28
uint64_t memory_devices_get_system_memory_MiB();
26
gchar *memory_devices_get_system_memory_types_str();
29
gchar *memory_devices_get_system_memory_types_str();
(-)a/modules/computer.c (+5 lines)
Lines 40-45 Link Here
40
40
41
#define THISORUNK(t) ( (t) ? t : _("(Unknown)") )
41
#define THISORUNK(t) ( (t) ? t : _("(Unknown)") )
42
42
43
/* Suppress implicit declaration warnings */
44
extern void scan_languages(OperatingSystem * os);
45
extern void scan_boots_real(void);
46
extern void scan_groups_do(void);
47
43
/* Callbacks */
48
/* Callbacks */
44
gchar *callback_summary(void);
49
gchar *callback_summary(void);
45
gchar *callback_os(void);
50
gchar *callback_os(void);
(-)a/modules/computer/boots.c (+3 lines)
Lines 21-26 Link Here
21
#include "hardinfo.h"
21
#include "hardinfo.h"
22
#include "computer.h"
22
#include "computer.h"
23
23
24
/* Suppress implicit declaration warnings */
25
void scan_os(gboolean reload);
26
24
void
27
void
25
scan_boots_real(void)
28
scan_boots_real(void)
26
{
29
{
(-)a/modules/computer/os.c (+3 lines)
Lines 23-28 Link Here
23
#include "computer.h"
23
#include "computer.h"
24
#include "distro_flavors.h"
24
#include "distro_flavors.h"
25
25
26
/* Suppress implicit declaration warnings */
27
extern void scan_languages(OperatingSystem * os);
28
26
static gchar *
29
static gchar *
27
get_libc_version(void)
30
get_libc_version(void)
28
{
31
{
(-)a/modules/devices.c (+9 lines)
Lines 40-45 Link Here
40
#include "dt_util.h"
40
#include "dt_util.h"
41
#include "udisks2_util.h"
41
#include "udisks2_util.h"
42
42
43
/* Suppress implicit declaration warnings */
44
extern int cpu_procs_cores_threads(int *p, int *c, int *t);
45
extern void __scan_dmi(void);
46
extern void __scan_dtree(void);
47
extern void __scan_ide_devices(void);
48
extern void __scan_scsi_devices(void);
49
extern void __scan_input_devices(void);
50
extern void __scan_usb(void);
51
43
gchar *callback_processors();
52
gchar *callback_processors();
44
gchar *callback_gpu();
53
gchar *callback_gpu();
45
gchar *callback_monitors();
54
gchar *callback_monitors();
(-)a/modules/devices/printers.c (+2 lines)
Lines 16-21 Link Here
16
 *    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
16
 *    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
17
 */
17
 */
18
18
19
/* Need for strptime() */
20
#define _XOPEN_SOURCE
19
#include <stdio.h>
21
#include <stdio.h>
20
#include <stdlib.h>
22
#include <stdlib.h>
21
#include <time.h>
23
#include <time.h>
(-)a/modules/network.c (-1 / +9 lines)
Lines 37-42 Link Here
37
37
38
#include <vendor.h>
38
#include <vendor.h>
39
39
40
/* Need for inet_addr() */
41
#include <sys/socket.h>
42
#include <netinet/in.h>
43
#include <arpa/inet.h>
44
40
#include "network.h"
45
#include "network.h"
41
46
42
/* Callbacks */
47
/* Callbacks */
Lines 57-62 void scan_shares(gboolean reload); Link Here
57
void scan_arp(gboolean reload);
62
void scan_arp(gboolean reload);
58
void scan_statistics(gboolean reload);
63
void scan_statistics(gboolean reload);
59
64
65
/* Suppress implicit declaration warnings */
66
extern void scan_samba(void);
67
extern void scan_nfs_shared_directories(void);
68
60
static ModuleEntry entries[] = {
69
static ModuleEntry entries[] = {
61
    {N_("Interfaces"), "network-interface.png", callback_network, scan_network, MODULE_FLAG_NONE},
70
    {N_("Interfaces"), "network-interface.png", callback_network, scan_network, MODULE_FLAG_NONE},
62
    {N_("IP Connections"), "network-connections.png", callback_connections, scan_connections, MODULE_FLAG_NONE},
71
    {N_("IP Connections"), "network-connections.png", callback_connections, scan_connections, MODULE_FLAG_NONE},
63
- 

Return to bug 33806