Remove unused functions
This commit is contained in:
parent
7d66c50676
commit
22c9eee9af
@ -689,13 +689,6 @@ grid_vertical(int screen)
|
|||||||
/** Put the selected client to the master postion
|
/** Put the selected client to the master postion
|
||||||
* \param cmd uicb_t type unused
|
* \param cmd uicb_t type unused
|
||||||
*/
|
*/
|
||||||
void
|
|
||||||
uicb_tile_switch(uicb_t cmd)
|
|
||||||
{
|
|
||||||
(void)cmd;
|
|
||||||
layout_set_client_master (sel);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Toggle the selected client to free
|
/** Toggle the selected client to free
|
||||||
* \param cmd uicb_t type unused
|
* \param cmd uicb_t type unused
|
||||||
|
|||||||
22
src/util.c
22
src/util.c
@ -210,28 +210,6 @@ layout_name_to_struct(Layout lt[], char *name, int n, const func_name_list_t lli
|
|||||||
|
|
||||||
return lt[0];
|
return lt[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
char*
|
|
||||||
alias_to_str(char *conf_choice)
|
|
||||||
{
|
|
||||||
int i;
|
|
||||||
char *tmpchar = NULL;
|
|
||||||
|
|
||||||
if(!conf_choice)
|
|
||||||
return 0;
|
|
||||||
|
|
||||||
if(conf.alias)
|
|
||||||
for(i = 0; conf.alias[i].name; i++)
|
|
||||||
if(!strcmp(conf_choice, conf.alias[i].name))
|
|
||||||
tmpchar = conf.alias[i].content;
|
|
||||||
|
|
||||||
if(tmpchar)
|
|
||||||
return xstrdup(tmpchar);
|
|
||||||
else
|
|
||||||
return xstrdup(conf_choice);
|
|
||||||
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
/* }}} */
|
/* }}} */
|
||||||
|
|
||||||
/** Execute a sh command
|
/** Execute a sh command
|
||||||
|
|||||||
@ -300,7 +300,6 @@ void* name_to_func(char *name, const func_name_list_t *l);
|
|||||||
ulong char_to_modkey(char *name, key_name_list_t key_l[]);
|
ulong char_to_modkey(char *name, key_name_list_t key_l[]);
|
||||||
uint char_to_button(char *name, name_to_uint_t blist[]);
|
uint char_to_button(char *name, name_to_uint_t blist[]);
|
||||||
Layout layout_name_to_struct(Layout lt[], char *name, int n, const func_name_list_t llist[]);
|
Layout layout_name_to_struct(Layout lt[], char *name, int n, const func_name_list_t llist[]);
|
||||||
char* alias_to_str(char *conf_choice);
|
|
||||||
/* }}} */
|
/* }}} */
|
||||||
char *char_to_str(const char c);
|
char *char_to_str(const char c);
|
||||||
pid_t spawn(const char *str, ...);
|
pid_t spawn(const char *str, ...);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user