Move struct definition
modified: src/nms.c
This commit is contained in:
parent
5f5c70fee7
commit
ad7fa569bb
17
src/nms.c
17
src/nms.c
@ -15,13 +15,7 @@
|
|||||||
#define KMAG "\x1B[35m"
|
#define KMAG "\x1B[35m"
|
||||||
#define KCYN "\x1B[36m"
|
#define KCYN "\x1B[36m"
|
||||||
|
|
||||||
int getTermSizeRows(void);
|
struct winpos {
|
||||||
int getTermSizeCols(void);
|
|
||||||
void clearTermWindow(int, int);
|
|
||||||
char getMaskChar(void);
|
|
||||||
|
|
||||||
int main(void) {
|
|
||||||
struct winpos {
|
|
||||||
char source;
|
char source;
|
||||||
char mask;
|
char mask;
|
||||||
int row;
|
int row;
|
||||||
@ -29,7 +23,14 @@ int main(void) {
|
|||||||
int s1_time;
|
int s1_time;
|
||||||
int s2_time;
|
int s2_time;
|
||||||
struct winpos *next;
|
struct winpos *next;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
int getTermSizeRows(void);
|
||||||
|
int getTermSizeCols(void);
|
||||||
|
void clearTermWindow(int, int);
|
||||||
|
char getMaskChar(void);
|
||||||
|
|
||||||
|
int main(void) {
|
||||||
struct winpos *list_pointer = NULL;
|
struct winpos *list_pointer = NULL;
|
||||||
struct winpos *start; // Always points to start of list
|
struct winpos *start; // Always points to start of list
|
||||||
struct winpos *temp; // Used for free()ing the list
|
struct winpos *temp; // Used for free()ing the list
|
||||||
|
Loading…
Reference in New Issue
Block a user