From 755c300d246c872c406f3a7e123d4cdd0d7c1f17 Mon Sep 17 00:00:00 2001 From: bigbear Date: Thu, 8 Feb 2024 02:39:51 +0100 Subject: PR681 - implicit function declaration --- includes/computer.h | 3 +++ includes/devices.h | 8 ++++++++ includes/hardinfo.h | 1 + includes/network.h | 4 +++- includes/storage_util.h | 3 ++- includes/udisks2_util.h | 2 ++ 6 files changed, 19 insertions(+), 2 deletions(-) (limited to 'includes') diff --git a/includes/computer.h b/includes/computer.h index 49203054..f8589d77 100644 --- a/includes/computer.h +++ b/includes/computer.h @@ -177,6 +177,9 @@ void scan_users_do(void); extern GHashTable *memlabels; void init_memory_labels(void); void scan_memory_do(void); +void scan_boots_real(void); +void scan_languages(OperatingSystem *os); +void scan_groups_do(void); void kernel_module_icon_init(void); diff --git a/includes/devices.h b/includes/devices.h index 4516d396..e2ab8f7f 100644 --- a/includes/devices.h +++ b/includes/devices.h @@ -66,6 +66,14 @@ void scan_printers_do(void); void scan_sensors_do(void); void sensor_init(void); void sensor_shutdown(void); +void __scan_dtree(void); +void scan_gpu_do(void); +gboolean __scan_udisks2_devices(void); +void __scan_ide_devices(void); +void __scan_scsi_devices(void); +void __scan_input_devices(void); +void __scan_usb(void); +void __scan_dmi(void); extern gchar *battery_list; extern gchar *input_icons; diff --git a/includes/hardinfo.h b/includes/hardinfo.h index ab0b8896..ce3ff529 100644 --- a/includes/hardinfo.h +++ b/includes/hardinfo.h @@ -230,5 +230,6 @@ gg_strescape (const gchar *source, #define note_print(note_buff, str) note_printf((note_buff), "%s", str) gboolean note_cond_bullet(gboolean cond, gchar *note_buff, const gchar *desc_str); gboolean note_require_tool(const gchar *tool, gchar *note_buff, const gchar *desc_str); +int cpu_procs_cores_threads(int *p, int *c, int *t); #endif /* __HARDINFO_H__ */ diff --git a/includes/network.h b/includes/network.h index 1e71126e..13d54872 100644 --- a/includes/network.h +++ b/includes/network.h @@ -9,5 +9,7 @@ extern gchar *network_interfaces; extern gchar *network_icons; void scan_net_interfaces(void); +void scan_samba(void); +void scan_nfs_shared_directories(void); -#endif /* __NETWORK_H__ */ \ No newline at end of file +#endif /* __NETWORK_H__ */ diff --git a/includes/storage_util.h b/includes/storage_util.h index 4866d88c..7774e71f 100644 --- a/includes/storage_util.h +++ b/includes/storage_util.h @@ -18,4 +18,5 @@ GSList *get_udisks2_drives_ext(); u2driveext* u2drive_ext(udiskd * udisks_drive_data); void u2driveext_free(u2driveext *u); -void udisks2_shutdown(); +void udisks2_shutdown(void); +void storage_shutdown(void); diff --git a/includes/udisks2_util.h b/includes/udisks2_util.h index 2f65c376..9b26f6dd 100644 --- a/includes/udisks2_util.h +++ b/includes/udisks2_util.h @@ -65,3 +65,5 @@ void udisks2_init(); void udisks2_shutdown(); GSList *get_udisks2_temps(); GSList *get_udisks2_all_drives_info(); +void udiskt_free(udiskt *u); +void udiskd_free(udiskd *u); -- cgit v1.2.3