Changes in uspace/srv/hid/output/proto/vt100.c [38d150e:cf13b17] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/output/proto/vt100.c
r38d150e rcf13b17 32 32 #include <inttypes.h> 33 33 #include <errno.h> 34 #include <stdio.h> 34 35 #include <stddef.h> 35 #include <stdio.h> 36 #include <stdlib.h> 36 #include <malloc.h> 37 37 #include <io/color.h> 38 38 #include <types/common.h> … … 139 139 140 140 vt100_state_t *vt100_state_create(sysarg_t cols, sysarg_t rows, 141 vt100_putchar_t putchar_fn, vt100_control_puts_t control_puts_fn, 142 vt100_flush_t flush_fn) 141 vt100_putchar_t putchar_fn, vt100_control_puts_t control_puts_fn) 143 142 { 144 143 vt100_state_t *state = malloc(sizeof(vt100_state_t)); … … 148 147 state->putchar = putchar_fn; 149 148 state->control_puts = control_puts_fn; 150 state->flush = flush_fn;151 149 152 150 state->cols = cols; … … 230 228 } 231 229 232 void vt100_flush(vt100_state_t *state)233 {234 state->flush();235 }236 237 230 /** @} 238 231 */
Note:
See TracChangeset
for help on using the changeset viewer.