freebsd11_network: Declare led_ functions as static.
And also fix coding style.
This commit is contained in:
parent
5025c781eb
commit
1562519066
@ -9,24 +9,28 @@
|
||||
typedef void led_t(void*, int);
|
||||
|
||||
|
||||
struct cdev* led_create_state(led_t* func, void* priv, char const* name, int state)
|
||||
static struct cdev*
|
||||
led_create_state(led_t* func, void* priv, char const* name, int state)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
struct cdev* led_create(led_t* func, void* priv, char const* name)
|
||||
static struct cdev*
|
||||
led_create(led_t* func, void* priv, char const* name)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
void led_destroy(struct cdev* dev)
|
||||
static void
|
||||
led_destroy(struct cdev* dev)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
int led_set(char const* name, char const* cmd)
|
||||
static int
|
||||
led_set(char const* name, char const* cmd)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user