mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-03 04:14:20 +01:00
util: Added 'const' attribute to function parameters
This commit is contained in:
committed by
Carlos R. Mafra
parent
d44aa97243
commit
5d03c455fc
@@ -21,7 +21,7 @@
|
||||
|
||||
#include "wmgenmenu.h"
|
||||
|
||||
static void find_and_write(char *group, char *list[][2], int this_is_terminals);
|
||||
static void find_and_write(const char *group, char *list[][2], int this_is_terminals);
|
||||
static void other_window_managers(void);
|
||||
static void print_help(int print_usage, int exitval);
|
||||
|
||||
@@ -378,7 +378,7 @@ int main(int argc, char *argv[])
|
||||
* - make sure previous menus of these levels are
|
||||
* attached to their parent before calling
|
||||
*/
|
||||
static void find_and_write(char *group, char *list[][2], int this_is_terminals)
|
||||
static void find_and_write(const char *group, char *list[][2], int this_is_terminals)
|
||||
{
|
||||
int i, argc;
|
||||
char *t, **argv, buf[PATH_MAX];
|
||||
|
||||
Reference in New Issue
Block a user