mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 12:14:36 +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:
@ -69,32 +69,32 @@ void ProcessList_delete(ProcessList* pl);
|
||||
void ProcessList_goThroughEntries(ProcessList* pl);
|
||||
|
||||
|
||||
extern ProcessList* ProcessList_init(ProcessList* this, ObjectClass* klass, UsersTable* usersTable, Hashtable* pidWhiteList, uid_t userId);
|
||||
ProcessList* ProcessList_init(ProcessList* this, ObjectClass* klass, UsersTable* usersTable, Hashtable* pidWhiteList, uid_t userId);
|
||||
|
||||
extern void ProcessList_done(ProcessList* this);
|
||||
void ProcessList_done(ProcessList* this);
|
||||
|
||||
extern void ProcessList_setPanel(ProcessList* this, Panel* panel);
|
||||
void ProcessList_setPanel(ProcessList* this, Panel* panel);
|
||||
|
||||
extern void ProcessList_printHeader(ProcessList* this, RichString* header);
|
||||
void ProcessList_printHeader(ProcessList* this, RichString* header);
|
||||
|
||||
extern void ProcessList_add(ProcessList* this, Process* p);
|
||||
void ProcessList_add(ProcessList* this, Process* p);
|
||||
|
||||
extern void ProcessList_remove(ProcessList* this, Process* p);
|
||||
void ProcessList_remove(ProcessList* this, Process* p);
|
||||
|
||||
extern Process* ProcessList_get(ProcessList* this, int idx);
|
||||
Process* ProcessList_get(ProcessList* this, int idx);
|
||||
|
||||
extern int ProcessList_size(ProcessList* this);
|
||||
int ProcessList_size(ProcessList* this);
|
||||
|
||||
extern void ProcessList_sort(ProcessList* this);
|
||||
void ProcessList_sort(ProcessList* this);
|
||||
|
||||
extern ProcessField ProcessList_keyAt(ProcessList* this, int at);
|
||||
ProcessField ProcessList_keyAt(ProcessList* this, int at);
|
||||
|
||||
extern void ProcessList_expandTree(ProcessList* this);
|
||||
void ProcessList_expandTree(ProcessList* this);
|
||||
|
||||
extern void ProcessList_rebuildPanel(ProcessList* this);
|
||||
void ProcessList_rebuildPanel(ProcessList* this);
|
||||
|
||||
extern Process* ProcessList_getProcess(ProcessList* this, pid_t pid, bool* preExisting, Process_New constructor);
|
||||
Process* ProcessList_getProcess(ProcessList* this, pid_t pid, bool* preExisting, Process_New constructor);
|
||||
|
||||
extern void ProcessList_scan(ProcessList* this);
|
||||
void ProcessList_scan(ProcessList* this);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user