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:
14
Affinity.h
14
Affinity.h
@ -28,23 +28,23 @@ typedef struct Affinity_ {
|
||||
} Affinity;
|
||||
|
||||
|
||||
extern Affinity* Affinity_new(ProcessList* pl);
|
||||
Affinity* Affinity_new(ProcessList* pl);
|
||||
|
||||
extern void Affinity_delete(Affinity* this);
|
||||
void Affinity_delete(Affinity* this);
|
||||
|
||||
extern void Affinity_add(Affinity* this, int id);
|
||||
void Affinity_add(Affinity* this, int id);
|
||||
|
||||
#ifdef HAVE_LIBHWLOC
|
||||
|
||||
extern Affinity* Affinity_get(Process* proc, ProcessList* pl);
|
||||
Affinity* Affinity_get(Process* proc, ProcessList* pl);
|
||||
|
||||
extern bool Affinity_set(Process* proc, Arg arg);
|
||||
bool Affinity_set(Process* proc, Arg arg);
|
||||
|
||||
#elif HAVE_LINUX_AFFINITY
|
||||
|
||||
extern Affinity* Affinity_get(Process* proc, ProcessList* pl);
|
||||
Affinity* Affinity_get(Process* proc, ProcessList* pl);
|
||||
|
||||
extern bool Affinity_set(Process* proc, Arg arg);
|
||||
bool Affinity_set(Process* proc, Arg arg);
|
||||
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user