kernel: don't use typedef for enums or non-opaque structs

This commit is contained in:
2023-04-12 20:17:11 +01:00
parent 0d75e347e9
commit b6f8c1ccaa
51 changed files with 663 additions and 665 deletions

View File

@@ -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;
}