More linting in src/network

This commit is contained in:
Jasmine Iwanek
2023-08-21 20:23:41 -04:00
parent ef41b7c3bf
commit 0398ec450a
5 changed files with 17 additions and 16 deletions

View File

@@ -717,7 +717,7 @@ network_card_has_config(int card)
}
/* UI */
char *
const char *
network_card_get_internal_name(int card)
{
return device_get_internal_name(net_cards[card]);
@@ -730,7 +730,7 @@ network_card_get_from_internal_name(char *s)
int c = 0;
while (net_cards[c] != NULL) {
if (!strcmp((char *) net_cards[c]->internal_name, s))
if (!strcmp(net_cards[c]->internal_name, s))
return c;
c++;
}