mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-13 20:44:35 +03:00
Remove superfluous 'extern's from function declarations.
Applied via: $ find * -name '*.h' -exec sed -i -r 's/^extern (.+\()/\1/;' {} + Suggested-by: Bert Wesarg <bert.wesarg@googlemail.com>
This commit is contained in:
@ -55,14 +55,14 @@ typedef struct FreeBSDProcessList_ {
|
||||
extern char jail_errmsg[JAIL_ERRMSGLEN];
|
||||
|
||||
|
||||
extern ProcessList* ProcessList_new(UsersTable* usersTable, Hashtable* pidWhiteList, uid_t userId);
|
||||
ProcessList* ProcessList_new(UsersTable* usersTable, Hashtable* pidWhiteList, uid_t userId);
|
||||
|
||||
extern void ProcessList_delete(ProcessList* this);
|
||||
void ProcessList_delete(ProcessList* this);
|
||||
|
||||
extern char* FreeBSDProcessList_readProcessName(kvm_t* kd, struct kinfo_proc* kproc, int* basenameEnd);
|
||||
char* FreeBSDProcessList_readProcessName(kvm_t* kd, struct kinfo_proc* kproc, int* basenameEnd);
|
||||
|
||||
extern char* FreeBSDProcessList_readJailName(struct kinfo_proc* kproc);
|
||||
char* FreeBSDProcessList_readJailName(struct kinfo_proc* kproc);
|
||||
|
||||
extern void ProcessList_goThroughEntries(ProcessList* this);
|
||||
void ProcessList_goThroughEntries(ProcessList* this);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user