mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-13 04:34: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:
14
Hashtable.h
14
Hashtable.h
@ -28,20 +28,20 @@ struct Hashtable_ {
|
||||
|
||||
#ifdef DEBUG
|
||||
|
||||
extern int Hashtable_count(Hashtable* this);
|
||||
int Hashtable_count(Hashtable* this);
|
||||
|
||||
#endif
|
||||
|
||||
extern Hashtable* Hashtable_new(int size, bool owner);
|
||||
Hashtable* Hashtable_new(int size, bool owner);
|
||||
|
||||
extern void Hashtable_delete(Hashtable* this);
|
||||
void Hashtable_delete(Hashtable* this);
|
||||
|
||||
extern void Hashtable_put(Hashtable* this, unsigned int key, void* value);
|
||||
void Hashtable_put(Hashtable* this, unsigned int key, void* value);
|
||||
|
||||
extern void* Hashtable_remove(Hashtable* this, unsigned int key);
|
||||
void* Hashtable_remove(Hashtable* this, unsigned int key);
|
||||
|
||||
extern void* Hashtable_get(Hashtable* this, unsigned int key);
|
||||
void* Hashtable_get(Hashtable* this, unsigned int key);
|
||||
|
||||
extern void Hashtable_foreach(Hashtable* this, Hashtable_PairFunction f, void* userData);
|
||||
void Hashtable_foreach(Hashtable* this, Hashtable_PairFunction f, void* userData);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user