diff options
author | Nathan Scott <nathans@redhat.com> | 2020-08-18 17:41:49 +1000 |
---|---|---|
committer | Nathan Scott <nathans@redhat.com> | 2020-08-18 17:41:49 +1000 |
commit | 7ac1c709b727bd460889f2765db9e2a37535ef90 (patch) | |
tree | 02a76cefab54370e77dbeb9888f5f223d7515eb0 /linux | |
parent | 579995c7c2385b844d81b2508710dcbbe9b0d64f (diff) |
Re-generate all headers with latest scripts/MakeHeader.py
Sync-up missing extern declarations for many functions.
Diffstat (limited to 'linux')
-rw-r--r-- | linux/Battery.h | 2 | ||||
-rw-r--r-- | linux/IOPriorityPanel.h | 4 | ||||
-rw-r--r-- | linux/LinuxCRT.h | 2 | ||||
-rw-r--r-- | linux/LinuxProcessList.h | 6 | ||||
-rw-r--r-- | linux/Platform.h | 16 |
5 files changed, 15 insertions, 15 deletions
diff --git a/linux/Battery.h b/linux/Battery.h index cfb6c324..261cff05 100644 --- a/linux/Battery.h +++ b/linux/Battery.h @@ -29,6 +29,6 @@ Linux battery readings written by Ian P. Hands (iphands@gmail.com, ihands@redhat // READ FROM /sys // ---------------------------------------- -void Battery_getData(double* level, ACPresence* isOnAC); +extern void Battery_getData(double* level, ACPresence* isOnAC); #endif diff --git a/linux/IOPriorityPanel.h b/linux/IOPriorityPanel.h index 9f77a4d9..0bf74f50 100644 --- a/linux/IOPriorityPanel.h +++ b/linux/IOPriorityPanel.h @@ -13,9 +13,9 @@ in the source distribution for its full text. #include "IOPriority.h" #include "ListItem.h" -Panel* IOPriorityPanel_new(IOPriority currPrio); +extern Panel* IOPriorityPanel_new(IOPriority currPrio); -IOPriority IOPriorityPanel_getIOPriority(Panel* this); +extern IOPriority IOPriorityPanel_getIOPriority(Panel* this); #endif diff --git a/linux/LinuxCRT.h b/linux/LinuxCRT.h index f8c43e4d..966dfecf 100644 --- a/linux/LinuxCRT.h +++ b/linux/LinuxCRT.h @@ -12,6 +12,6 @@ in the source distribution for its full text. #ifdef HAVE_EXECINFO_H #endif -void CRT_handleSIGSEGV(int sgn); +extern void CRT_handleSIGSEGV(int sgn); #endif diff --git a/linux/LinuxProcessList.h b/linux/LinuxProcessList.h index f30b487d..cf369e38 100644 --- a/linux/LinuxProcessList.h +++ b/linux/LinuxProcessList.h @@ -98,9 +98,9 @@ typedef struct LinuxProcessList_ { #endif -ProcessList* ProcessList_new(UsersTable* usersTable, Hashtable* pidWhiteList, uid_t userId); +extern ProcessList* ProcessList_new(UsersTable* usersTable, Hashtable* pidWhiteList, uid_t userId); -void ProcessList_delete(ProcessList* pl); +extern void ProcessList_delete(ProcessList* pl); #ifdef HAVE_TASKSTATS @@ -123,6 +123,6 @@ void ProcessList_delete(ProcessList* pl); #endif -void ProcessList_goThroughEntries(ProcessList* super); +extern void ProcessList_goThroughEntries(ProcessList* super); #endif diff --git a/linux/Platform.h b/linux/Platform.h index b0456e5b..89b0a301 100644 --- a/linux/Platform.h +++ b/linux/Platform.h @@ -27,22 +27,22 @@ extern const SignalItem Platform_signals[]; extern const unsigned int Platform_numberOfSignals; -void Platform_setBindings(Htop_Action* keys); +extern void Platform_setBindings(Htop_Action* keys); extern MeterClass* Platform_meterTypes[]; -int Platform_getUptime(); +extern int Platform_getUptime(); -void Platform_getLoadAverage(double* one, double* five, double* fifteen); +extern void Platform_getLoadAverage(double* one, double* five, double* fifteen); -int Platform_getMaxPid(); +extern int Platform_getMaxPid(); -double Platform_setCPUValues(Meter* this, int cpu); +extern double Platform_setCPUValues(Meter* this, int cpu); -void Platform_setMemoryValues(Meter* this); +extern void Platform_setMemoryValues(Meter* this); -void Platform_setSwapValues(Meter* this); +extern void Platform_setSwapValues(Meter* this); -char* Platform_getProcessEnv(pid_t pid); +extern char* Platform_getProcessEnv(pid_t pid); #endif |