Re-generate all headers with latest scripts/MakeHeader.py

Sync-up missing extern declarations for many functions.
This commit is contained in:
Nathan Scott
2020-08-18 17:41:49 +10:00
parent 579995c7c2
commit 7ac1c709b7
40 changed files with 215 additions and 215 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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