diff options
Diffstat (limited to 'main.h')
-rw-r--r-- | main.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -16,7 +16,9 @@ extern char *magicstr; struct hello_dev { dev_t devnum; + struct semaphore sem; struct cdev cdev; /* char device */ + /* for r/w operations */ char hello_buffer[HELLO_KERNEL_BUFF_LEN]; size_t buff_index; |