kernel: don't use typedef for enums or non-opaque structs
This commit is contained in:
@@ -2,12 +2,12 @@
|
||||
#include <socks/locks.h>
|
||||
#include <socks/queue.h>
|
||||
|
||||
int tty_read(tty_t *tty, char *s, unsigned long len)
|
||||
int tty_read(struct tty *tty, char *s, unsigned long len)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
int tty_write(tty_t *tty, const char *s, unsigned long len)
|
||||
int tty_write(struct tty *tty, const char *s, unsigned long len)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user