declare constant function parameters const (as well as constant function return values)
This commit is contained in:
1 parent
f34c246200
commit
cc2c84a7b8
21 files changed
+78
-68
No files matched your search
@@ -41,7 +41,7 @@ typedef struct menu_entry {
|
||||
} MenuEntry;
|
||||
|
||||
|
||||
MenuEntry *menu_read(MenuEntry *parent, char *name);
|
||||
MenuEntry *menu_read(MenuEntry *parent, const char *ame);
|
||||
int menu_sock_send(MenuEntry *me, MenuEntry *parent, int sock);
|
||||
MenuEntry *menu_find_by_id(MenuEntry *me, int id);
|
||||
const char *menu_command(MenuEntry *me);
|
||||
|
||||
Reference in new issue
Block a user