mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-13 04:34:35 +03:00
Re-generate all headers with latest scripts/MakeHeader.py
Sync-up missing extern declarations for many functions.
This commit is contained in:
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user