mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 12:14:36 +03:00
Mark some things as const
Several string pointer arrays pointed to const strings but were not const themselves. A few various structures and arrays were also marked const.
This commit is contained in:
@ -24,7 +24,7 @@ typedef struct FunctionBar_ {
|
||||
|
||||
FunctionBar* FunctionBar_newEnterEsc(const char* enter, const char* esc);
|
||||
|
||||
FunctionBar* FunctionBar_new(const char** functions, const char** keys, int* events);
|
||||
FunctionBar* FunctionBar_new(const char* const* functions, const char* const* keys, const int* events);
|
||||
|
||||
void FunctionBar_delete(FunctionBar* this);
|
||||
|
||||
|
Reference in New Issue
Block a user