Cleanup dead/useless code
This commit is contained in:
@@ -103,20 +103,6 @@ int valid_passport()
|
|||||||
return valid;
|
return valid;
|
||||||
}
|
}
|
||||||
|
|
||||||
char *my_getkeyZOBI(str) /* search string before ':' */
|
|
||||||
char *str;
|
|
||||||
{
|
|
||||||
char *p=str;
|
|
||||||
|
|
||||||
while (*str++ == ' ') /* skip spaces */
|
|
||||||
;
|
|
||||||
p=str;
|
|
||||||
while (*p && *p++ != ':') /* skip spaces */
|
|
||||||
;
|
|
||||||
*p='\0';
|
|
||||||
return my_strlen(str) ? str: NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
int main(ac, av)
|
int main(ac, av)
|
||||||
char **av;
|
char **av;
|
||||||
{
|
{
|
||||||
|
@@ -204,20 +204,6 @@ int valid_passport()
|
|||||||
return valid;
|
return valid;
|
||||||
}
|
}
|
||||||
|
|
||||||
char *my_getkeyZOBI(str) /* search string before ':' */
|
|
||||||
char *str;
|
|
||||||
{
|
|
||||||
char *p=str;
|
|
||||||
|
|
||||||
while (*str++ == ' ') /* skip spaces */
|
|
||||||
;
|
|
||||||
p=str;
|
|
||||||
while (*p && *p++ != ':') /* skip spaces */
|
|
||||||
;
|
|
||||||
*p='\0';
|
|
||||||
return my_strlen(str) ? str: NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
int main(ac, av)
|
int main(ac, av)
|
||||||
char **av;
|
char **av;
|
||||||
{
|
{
|
||||||
|
@@ -59,7 +59,7 @@ void print_list(list)
|
|||||||
printf("[%u] %llu\n", i, *(ptr+i));
|
printf("[%u] %llu\n", i, *(ptr+i));
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct list *add_val(list, val)
|
struct list *add_val(list, val)
|
||||||
struct list *list;
|
struct list *list;
|
||||||
unsigned long long val;
|
unsigned long long val;
|
||||||
{
|
{
|
||||||
|
@@ -59,7 +59,7 @@ void print_list(list)
|
|||||||
printf("[%u] %llu\n", i, *(ptr+i));
|
printf("[%u] %llu\n", i, *(ptr+i));
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct list *add_val(list, val)
|
struct list *add_val(list, val)
|
||||||
struct list *list;
|
struct list *list;
|
||||||
unsigned long long val;
|
unsigned long long val;
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user