summaryrefslogtreecommitdiffstats
path: root/ProcessList.h
diff options
context:
space:
mode:
authorZev Weiss <zev@bewilderbeest.net>2020-09-02 02:38:44 -0500
committerZev Weiss <zev@bewilderbeest.net>2020-09-03 11:59:26 -0500
commit7b7822b896af7673b9e13f0f1807e187ef2d4370 (patch)
tree432855970507d1d622976fd8c4464c803d92239a /ProcessList.h
parenta1a027b9bd833db5384d7dc65046194018eb8bfa (diff)
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>
Diffstat (limited to 'ProcessList.h')
-rw-r--r--ProcessList.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/ProcessList.h b/ProcessList.h
index 1a4170c0..73f6c687 100644
--- a/ProcessList.h
+++ b/ProcessList.h
@@ -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

© 2014-2024 Faster IT GmbH | imprint | privacy policy