util: Added 'const' attribute to function parameters

This commit is contained in:
Christophe CURIS
2013-05-12 01:01:19 +01:00
committed by Carlos R. Mafra
parent d44aa97243
commit 5d03c455fc
8 changed files with 27 additions and 27 deletions
+2 -2
View File
@@ -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];