ui/common/menu.c

branch
newapi
changeset 254
13997c76859b
parent 236
ee794586f51b
equal deleted inserted replaced
253:087cc9216f28 254:13997c76859b
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