Change inputArgs to InputArgs

pull/2/head
Nakidai 2023-10-29 22:35:37 +03:00
parent 9dc2da1f90
commit c7797f1f41
Signed by untrusted user who does not match committer: nakidai
GPG Key ID: 914675D395210A97
2 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@ typedef struct input_args_t
{ {
char *out; char *out;
bool *alive; bool *alive;
} inputArgs; } InputArgs;
void input(void *vargp); void input(void *vargp);

View File

@ -23,8 +23,8 @@ char getch(void)
void input(void *vargp) void input(void *vargp)
{ {
char *out = ((inputArgs *)vargp)->out; char *out = ((InputArgs *)vargp)->out;
bool *alive = ((inputArgs *)vargp)->alive; bool *alive = ((InputArgs *)vargp)->alive;
while (*alive) while (*alive)
{ {