ui/common/menu.c

changeset 29
3fc287f06305
parent 8
726b24766437
child 44
473954dc6b74
equal deleted inserted replaced
28:1ecc1183f046 29:3fc287f06305
59 59
60 static char* nl_strdup(const char* s) { 60 static char* nl_strdup(const char* s) {
61 return s ? strdup(s) : NULL; 61 return s ? strdup(s) : NULL;
62 } 62 }
63 63
64 static int* copy_groups(int* groups, size_t *ngroups) { 64 static int* copy_groups(const int* groups, size_t *ngroups) {
65 *ngroups = 0; 65 *ngroups = 0;
66 if (!groups) { 66 if (!groups) {
67 return NULL; 67 return NULL;
68 } 68 }
69 69

mercurial