Remove unused functions

This commit is contained in:
Clément Bœsch 2011-02-23 21:58:17 +01:00
parent 7d66c50676
commit 22c9eee9af
3 changed files with 0 additions and 30 deletions

View File

@ -689,13 +689,6 @@ grid_vertical(int screen)
/** Put the selected client to the master postion
* \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
* \param cmd uicb_t type unused

View File

@ -210,28 +210,6 @@ layout_name_to_struct(Layout lt[], char *name, int n, const func_name_list_t lli
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

View File

@ -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[]);
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[]);
char* alias_to_str(char *conf_choice);
/* }}} */
char *char_to_str(const char c);
pid_t spawn(const char *str, ...);