Загрузка данных
door_struct.h:58:6: error: redefinition of ‘initialize_doors’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:58:6: note: previous definition of ‘initialize_doors’ with type ‘void(struct door *)’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:23:5: error: redefinition of ‘main’
23 | int main(void) {
| ^~~~
door_struct.h:23:5: note: previous definition of ‘main’ with type ‘int(void)’
23 | int main(void) {
| ^~~~
door_struct.h:31:6: error: redefinition of ‘sort_doors’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:31:6: note: previous definition of ‘sort_doors’ with type ‘void(struct door *, int)’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:42:6: error: redefinition of ‘close_doors’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:42:6: note: previous definition of ‘close_doors’ with type ‘void(struct door *, int)’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:47:6: error: redefinition of ‘output_doors’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:47:6: note: previous definition of ‘output_doors’ with type ‘void(struct door *, int)’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:58:6: error: redefinition of ‘initialize_doors’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:58:6: note: previous definition of ‘initialize_doors’ with type ‘void(struct door *)’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:23:5: error: redefinition of ‘main’
23 | int main(void) {
| ^~~~
door_struct.h:23:5: note: previous definition of ‘main’ with type ‘int(void)’
23 | int main(void) {
| ^~~~
door_struct.h:31:6: error: redefinition of ‘sort_doors’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:31:6: note: previous definition of ‘sort_doors’ with type ‘void(struct door *, int)’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:42:6: error: redefinition of ‘close_doors’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:42:6: note: previous definition of ‘close_doors’ with type ‘void(struct door *, int)’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:47:6: error: redefinition of ‘output_doors’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:47:6: note: previous definition of ‘output_doors’ with type ‘void(struct door *, int)’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:58:6: error: redefinition of ‘initialize_doors’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:58:6: note: previous definition of ‘initialize_doors’ with type ‘void(struct door *)’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:23:5: error: redefinition of ‘main’
23 | int main(void) {
| ^~~~
door_struct.h:23:5: note: previous definition of ‘main’ with type ‘int(void)’
23 | int main(void) {
| ^~~~
door_struct.h:31:6: error: redefinition of ‘sort_doors’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:31:6: note: previous definition of ‘sort_doors’ with type ‘void(struct door *, int)’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:42:6: error: redefinition of ‘close_doors’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:42:6: note: previous definition of ‘close_doors’ with type ‘void(struct door *, int)’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:47:6: error: redefinition of ‘output_doors’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:47:6: note: previous definition of ‘output_doors’ with type ‘void(struct door *, int)’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:58:6: error: redefinition of ‘initialize_doors’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:58:6: note: previous definition of ‘initialize_doors’ with type ‘void(struct door *)’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:23:5: error: redefinition of ‘main’
23 | int main(void) {
| ^~~~
door_struct.h:23:5: note: previous definition of ‘main’ with type ‘int(void)’
23 | int main(void) {
| ^~~~
door_struct.h:31:6: error: redefinition of ‘sort_doors’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:31:6: note: previous definition of ‘sort_doors’ with type ‘void(struct door *, int)’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:42:6: error: redefinition of ‘close_doors’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:42:6: note: previous definition of ‘close_doors’ with type ‘void(struct door *, int)’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:47:6: error: redefinition of ‘output_doors’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:47:6: note: previous definition of ‘output_doors’ with type ‘void(struct door *, int)’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:58:6: error: redefinition of ‘initialize_doors’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:58:6: note: previous definition of ‘initialize_doors’ with type ‘void(struct door *)’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:23:5: error: redefinition of ‘main’
23 | int main(void) {
| ^~~~
door_struct.h:23:5: note: previous definition of ‘main’ with type ‘int(void)’
23 | int main(void) {
| ^~~~
door_struct.h:31:6: error: redefinition of ‘sort_doors’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:31:6: note: previous definition of ‘sort_doors’ with type ‘void(struct door *, int)’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:42:6: error: redefinition of ‘close_doors’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:42:6: note: previous definition of ‘close_doors’ with type ‘void(struct door *, int)’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:47:6: error: redefinition of ‘output_doors’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:47:6: note: previous definition of ‘output_doors’ with type ‘void(struct door *, int)’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:58:6: error: redefinition of ‘initialize_doors’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:58:6: note: previous definition of ‘initialize_doors’ with type ‘void(struct door *)’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:23:5: error: redefinition of ‘main’
23 | int main(void) {
| ^~~~
door_struct.h:23:5: note: previous definition of ‘main’ with type ‘int(void)’
23 | int main(void) {
| ^~~~
door_struct.h:31:6: error: redefinition of ‘sort_doors’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:31:6: note: previous definition of ‘sort_doors’ with type ‘void(struct door *, int)’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:42:6: error: redefinition of ‘close_doors’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:42:6: note: previous definition of ‘close_doors’ with type ‘void(struct door *, int)’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:47:6: error: redefinition of ‘output_doors’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:47:6: note: previous definition of ‘output_doors’ with type ‘void(struct door *, int)’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:58:6: error: redefinition of ‘initialize_doors’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:58:6: note: previous definition of ‘initialize_doors’ with type ‘void(struct door *)’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:23:5: error: redefinition of ‘main’
23 | int main(void) {
| ^~~~
door_struct.h:23:5: note: previous definition of ‘main’ with type ‘int(void)’
23 | int main(void) {
| ^~~~
door_struct.h:31:6: error: redefinition of ‘sort_doors’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:31:6: note: previous definition of ‘sort_doors’ with type ‘void(struct door *, int)’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:42:6: error: redefinition of ‘close_doors’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:42:6: note: previous definition of ‘close_doors’ with type ‘void(struct door *, int)’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:47:6: error: redefinition of ‘output_doors’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:47:6: note: previous definition of ‘output_doors’ with type ‘void(struct door *, int)’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:58:6: error: redefinition of ‘initialize_doors’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:58:6: note: previous definition of ‘initialize_doors’ with type ‘void(struct door *)’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:23:5: error: redefinition of ‘main’
23 | int main(void) {
| ^~~~
door_struct.h:23:5: note: previous definition of ‘main’ with type ‘int(void)’
23 | int main(void) {
| ^~~~
door_struct.h:31:6: error: redefinition of ‘sort_doors’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:31:6: note: previous definition of ‘sort_doors’ with type ‘void(struct door *, int)’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:42:6: error: redefinition of ‘close_doors’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:42:6: note: previous definition of ‘close_doors’ with type ‘void(struct door *, int)’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:47:6: error: redefinition of ‘output_doors’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:47:6: note: previous definition of ‘output_doors’ with type ‘void(struct door *, int)’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:58:6: error: redefinition of ‘initialize_doors’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:58:6: note: previous definition of ‘initialize_doors’ with type ‘void(struct door *)’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:23:5: error: redefinition of ‘main’
23 | int main(void) {
| ^~~~
door_struct.h:23:5: note: previous definition of ‘main’ with type ‘int(void)’
23 | int main(void) {
| ^~~~
door_struct.h:31:6: error: redefinition of ‘sort_doors’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:31:6: note: previous definition of ‘sort_doors’ with type ‘void(struct door *, int)’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:42:6: error: redefinition of ‘close_doors’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:42:6: note: previous definition of ‘close_doors’ with type ‘void(struct door *, int)’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:47:6: error: redefinition of ‘output_doors’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:47:6: note: previous definition of ‘output_doors’ with type ‘void(struct door *, int)’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:58:6: error: redefinition of ‘initialize_doors’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:58:6: note: previous definition of ‘initialize_doors’ with type ‘void(struct door *)’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:23:5: error: redefinition of ‘main’
23 | int main(void) {
| ^~~~
door_struct.h:23:5: note: previous definition of ‘main’ with type ‘int(void)’
23 | int main(void) {
| ^~~~
door_struct.h:31:6: error: redefinition of ‘sort_doors’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:31:6: note: previous definition of ‘sort_doors’ with type ‘void(struct door *, int)’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:42:6: error: redefinition of ‘close_doors’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:42:6: note: previous definition of ‘close_doors’ with type ‘void(struct door *, int)’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:47:6: error: redefinition of ‘output_doors’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:47:6: note: previous definition of ‘output_doors’ with type ‘void(struct door *, int)’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:58:6: error: redefinition of ‘initialize_doors’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:58:6: note: previous definition of ‘initialize_doors’ with type ‘void(struct door *)’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:23:5: error: redefinition of ‘main’
23 | int main(void) {
| ^~~~
door_struct.h:23:5: note: previous definition of ‘main’ with type ‘int(void)’
23 | int main(void) {
| ^~~~
door_struct.h:31:6: error: redefinition of ‘sort_doors’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:31:6: note: previous definition of ‘sort_doors’ with type ‘void(struct door *, int)’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:42:6: error: redefinition of ‘close_doors’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:42:6: note: previous definition of ‘close_doors’ with type ‘void(struct door *, int)’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:47:6: error: redefinition of ‘output_doors’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:47:6: note: previous definition of ‘output_doors’ with type ‘void(struct door *, int)’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:58:6: error: redefinition of ‘initialize_doors’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:58:6: note: previous definition of ‘initialize_doors’ with type ‘void(struct door *)’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:23:5: error: redefinition of ‘main’
23 | int main(void) {
| ^~~~
door_struct.h:23:5: note: previous definition of ‘main’ with type ‘int(void)’
23 | int main(void) {
| ^~~~
door_struct.h:31:6: error: redefinition of ‘sort_doors’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:31:6: note: previous definition of ‘sort_doors’ with type ‘void(struct door *, int)’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:42:6: error: redefinition of ‘close_doors’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:42:6: note: previous definition of ‘close_doors’ with type ‘void(struct door *, int)’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:47:6: error: redefinition of ‘output_doors’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:47:6: note: previous definition of ‘output_doors’ with type ‘void(struct door *, int)’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:58:6: error: redefinition of ‘initialize_doors’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:58:6: note: previous definition of ‘initialize_doors’ with type ‘void(struct door *)’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:23:5: error: redefinition of ‘main’
23 | int main(void) {
| ^~~~
door_struct.h:23:5: note: previous definition of ‘main’ with type ‘int(void)’
23 | int main(void) {
| ^~~~
door_struct.h:31:6: error: redefinition of ‘sort_doors’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:31:6: note: previous definition of ‘sort_doors’ with type ‘void(struct door *, int)’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:42:6: error: redefinition of ‘close_doors’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:42:6: note: previous definition of ‘close_doors’ with type ‘void(struct door *, int)’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:47:6: error: redefinition of ‘output_doors’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:47:6: note: previous definition of ‘output_doors’ with type ‘void(struct door *, int)’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:58:6: error: redefinition of ‘initialize_doors’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:58:6: note: previous definition of ‘initialize_doors’ with type ‘void(struct door *)’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:23:5: error: redefinition of ‘main’
23 | int main(void) {
| ^~~~
door_struct.h:23:5: note: previous definition of ‘main’ with type ‘int(void)’
23 | int main(void) {
| ^~~~
door_struct.h:31:6: error: redefinition of ‘sort_doors’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:31:6: note: previous definition of ‘sort_doors’ with type ‘void(struct door *, int)’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:42:6: error: redefinition of ‘close_doors’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:42:6: note: previous definition of ‘close_doors’ with type ‘void(struct door *, int)’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:47:6: error: redefinition of ‘output_doors’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:47:6: note: previous definition of ‘output_doors’ with type ‘void(struct door *, int)’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:58:6: error: redefinition of ‘initialize_doors’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:58:6: note: previous definition of ‘initialize_doors’ with type ‘void(struct door *)’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:23:5: error: redefinition of ‘main’
23 | int main(void) {
| ^~~~
door_struct.h:23:5: note: previous definition of ‘main’ with type ‘int(void)’
23 | int main(void) {
| ^~~~
door_struct.h:31:6: error: redefinition of ‘sort_doors’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:31:6: note: previous definition of ‘sort_doors’ with type ‘void(struct door *, int)’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:42:6: error: redefinition of ‘close_doors’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:42:6: note: previous definition of ‘close_doors’ with type ‘void(struct door *, int)’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:47:6: error: redefinition of ‘output_doors’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:47:6: note: previous definition of ‘output_doors’ with type ‘void(struct door *, int)’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:58:6: error: redefinition of ‘initialize_doors’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:58:6: note: previous definition of ‘initialize_doors’ with type ‘void(struct door *)’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:23:5: error: redefinition of ‘main’
23 | int main(void) {
| ^~~~
door_struct.h:23:5: note: previous definition of ‘main’ with type ‘int(void)’
23 | int main(void) {
| ^~~~
door_struct.h:31:6: error: redefinition of ‘sort_doors’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:31:6: note: previous definition of ‘sort_doors’ with type ‘void(struct door *, int)’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:42:6: error: redefinition of ‘close_doors’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:42:6: note: previous definition of ‘close_doors’ with type ‘void(struct door *, int)’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:47:6: error: redefinition of ‘output_doors’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:47:6: note: previous definition of ‘output_doors’ with type ‘void(struct door *, int)’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:58:6: error: redefinition of ‘initialize_doors’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:58:6: note: previous definition of ‘initialize_doors’ with type ‘void(struct door *)’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:23:5: error: redefinition of ‘main’
23 | int main(void) {
| ^~~~
door_struct.h:23:5: note: previous definition of ‘main’ with type ‘int(void)’
23 | int main(void) {
| ^~~~
door_struct.h:31:6: error: redefinition of ‘sort_doors’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:31:6: note: previous definition of ‘sort_doors’ with type ‘void(struct door *, int)’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:42:6: error: redefinition of ‘close_doors’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:42:6: note: previous definition of ‘close_doors’ with type ‘void(struct door *, int)’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:47:6: error: redefinition of ‘output_doors’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:47:6: note: previous definition of ‘output_doors’ with type ‘void(struct door *, int)’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:58:6: error: redefinition of ‘initialize_doors’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:58:6: note: previous definition of ‘initialize_doors’ with type ‘void(struct door *)’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:23:5: error: redefinition of ‘main’
23 | int main(void) {
| ^~~~
door_struct.h:23:5: note: previous definition of ‘main’ with type ‘int(void)’
23 | int main(void) {
| ^~~~
door_struct.h:31:6: error: redefinition of ‘sort_doors’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:31:6: note: previous definition of ‘sort_doors’ with type ‘void(struct door *, int)’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:42:6: error: redefinition of ‘close_doors’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:42:6: note: previous definition of ‘close_doors’ with type ‘void(struct door *, int)’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:47:6: error: redefinition of ‘output_doors’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:47:6: note: previous definition of ‘output_doors’ with type ‘void(struct door *, int)’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:58:6: error: redefinition of ‘initialize_doors’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:58:6: note: previous definition of ‘initialize_doors’ with type ‘void(struct door *)’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:23:5: error: redefinition of ‘main’
23 | int main(void) {
| ^~~~
door_struct.h:23:5: note: previous definition of ‘main’ with type ‘int(void)’
23 | int main(void) {
| ^~~~
door_struct.h:31:6: error: redefinition of ‘sort_doors’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:31:6: note: previous definition of ‘sort_doors’ with type ‘void(struct door *, int)’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:42:6: error: redefinition of ‘close_doors’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:42:6: note: previous definition of ‘close_doors’ with type ‘void(struct door *, int)’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:47:6: error: redefinition of ‘output_doors’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:47:6: note: previous definition of ‘output_doors’ with type ‘void(struct door *, int)’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:58:6: error: redefinition of ‘initialize_doors’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:58:6: note: previous definition of ‘initialize_doors’ with type ‘void(struct door *)’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:23:5: error: redefinition of ‘main’
23 | int main(void) {
| ^~~~
door_struct.h:23:5: note: previous definition of ‘main’ with type ‘int(void)’
23 | int main(void) {
| ^~~~
door_struct.h:31:6: error: redefinition of ‘sort_doors’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:31:6: note: previous definition of ‘sort_doors’ with type ‘void(struct door *, int)’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:42:6: error: redefinition of ‘close_doors’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:42:6: note: previous definition of ‘close_doors’ with type ‘void(struct door *, int)’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:47:6: error: redefinition of ‘output_doors’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:47:6: note: previous definition of ‘output_doors’ with type ‘void(struct door *, int)’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:58:6: error: redefinition of ‘initialize_doors’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:58:6: note: previous definition of ‘initialize_doors’ with type ‘void(struct door *)’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:23:5: error: redefinition of ‘main’
23 | int main(void) {
| ^~~~
door_struct.h:23:5: note: previous definition of ‘main’ with type ‘int(void)’
23 | int main(void) {
| ^~~~
door_struct.h:31:6: error: redefinition of ‘sort_doors’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:31:6: note: previous definition of ‘sort_doors’ with type ‘void(struct door *, int)’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:42:6: error: redefinition of ‘close_doors’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:42:6: note: previous definition of ‘close_doors’ with type ‘void(struct door *, int)’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:47:6: error: redefinition of ‘output_doors’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:47:6: note: previous definition of ‘output_doors’ with type ‘void(struct door *, int)’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:58:6: error: redefinition of ‘initialize_doors’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:58:6: note: previous definition of ‘initialize_doors’ with type ‘void(struct door *)’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:23:5: error: redefinition of ‘main’
23 | int main(void) {
| ^~~~
door_struct.h:23:5: note: previous definition of ‘main’ with type ‘int(void)’
23 | int main(void) {
| ^~~~
door_struct.h:31:6: error: redefinition of ‘sort_doors’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:31:6: note: previous definition of ‘sort_doors’ with type ‘void(struct door *, int)’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:42:6: error: redefinition of ‘close_doors’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:42:6: note: previous definition of ‘close_doors’ with type ‘void(struct door *, int)’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:47:6: error: redefinition of ‘output_doors’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:47:6: note: previous definition of ‘output_doors’ with type ‘void(struct door *, int)’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:58:6: error: redefinition of ‘initialize_doors’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:58:6: note: previous definition of ‘initialize_doors’ with type ‘void(struct door *)’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:23:5: error: redefinition of ‘main’
23 | int main(void) {
| ^~~~
door_struct.h:23:5: note: previous definition of ‘main’ with type ‘int(void)’
23 | int main(void) {
| ^~~~
door_struct.h:31:6: error: redefinition of ‘sort_doors’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:31:6: note: previous definition of ‘sort_doors’ with type ‘void(struct door *, int)’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:42:6: error: redefinition of ‘close_doors’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:42:6: note: previous definition of ‘close_doors’ with type ‘void(struct door *, int)’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:47:6: error: redefinition of ‘output_doors’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:47:6: note: previous definition of ‘output_doors’ with type ‘void(struct door *, int)’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:58:6: error: redefinition of ‘initialize_doors’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:58:6: note: previous definition of ‘initialize_doors’ with type ‘void(struct door *)’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:23:5: error: redefinition of ‘main’
23 | int main(void) {
| ^~~~
door_struct.h:23:5: note: previous definition of ‘main’ with type ‘int(void)’
23 | int main(void) {
| ^~~~
door_struct.h:31:6: error: redefinition of ‘sort_doors’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:31:6: note: previous definition of ‘sort_doors’ with type ‘void(struct door *, int)’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:42:6: error: redefinition of ‘close_doors’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:42:6: note: previous definition of ‘close_doors’ with type ‘void(struct door *, int)’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:47:6: error: redefinition of ‘output_doors’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:47:6: note: previous definition of ‘output_doors’ with type ‘void(struct door *, int)’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:58:6: error: redefinition of ‘initialize_doors’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:58:6: note: previous definition of ‘initialize_doors’ with type ‘void(struct door *)’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:23:5: error: redefinition of ‘main’
23 | int main(void) {
| ^~~~
door_struct.h:23:5: note: previous definition of ‘main’ with type ‘int(void)’
23 | int main(void) {
| ^~~~
door_struct.h:31:6: error: redefinition of ‘sort_doors’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:31:6: note: previous definition of ‘sort_doors’ with type ‘void(struct door *, int)’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:42:6: error: redefinition of ‘close_doors’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:42:6: note: previous definition of ‘close_doors’ with type ‘void(struct door *, int)’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:47:6: error: redefinition of ‘output_doors’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:47:6: note: previous definition of ‘output_doors’ with type ‘void(struct door *, int)’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:58:6: error: redefinition of ‘initialize_doors’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:58:6: note: previous definition of ‘initialize_doors’ with type ‘void(struct door *)’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:23:5: error: redefinition of ‘main’
23 | int main(void) {
| ^~~~
door_struct.h:23:5: note: previous definition of ‘main’ with type ‘int(void)’
23 | int main(void) {
| ^~~~
door_struct.h:31:6: error: redefinition of ‘sort_doors’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:31:6: note: previous definition of ‘sort_doors’ with type ‘void(struct door *, int)’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:42:6: error: redefinition of ‘close_doors’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:42:6: note: previous definition of ‘close_doors’ with type ‘void(struct door *, int)’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:47:6: error: redefinition of ‘output_doors’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:47:6: note: previous definition of ‘output_doors’ with type ‘void(struct door *, int)’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:58:6: error: redefinition of ‘initialize_doors’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:58:6: note: previous definition of ‘initialize_doors’ with type ‘void(struct door *)’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:23:5: error: redefinition of ‘main’
23 | int main(void) {
| ^~~~
door_struct.h:23:5: note: previous definition of ‘main’ with type ‘int(void)’
23 | int main(void) {
| ^~~~
door_struct.h:31:6: error: redefinition of ‘sort_doors’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:31:6: note: previous definition of ‘sort_doors’ with type ‘void(struct door *, int)’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:42:6: error: redefinition of ‘close_doors’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:42:6: note: previous definition of ‘close_doors’ with type ‘void(struct door *, int)’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:47:6: error: redefinition of ‘output_doors’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:47:6: note: previous definition of ‘output_doors’ with type ‘void(struct door *, int)’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:58:6: error: redefinition of ‘initialize_doors’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:58:6: note: previous definition of ‘initialize_doors’ with type ‘void(struct door *)’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:23:5: error: redefinition of ‘main’
23 | int main(void) {
| ^~~~
door_struct.h:23:5: note: previous definition of ‘main’ with type ‘int(void)’
23 | int main(void) {
| ^~~~
door_struct.h:31:6: error: redefinition of ‘sort_doors’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:31:6: note: previous definition of ‘sort_doors’ with type ‘void(struct door *, int)’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:42:6: error: redefinition of ‘close_doors’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:42:6: note: previous definition of ‘close_doors’ with type ‘void(struct door *, int)’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:47:6: error: redefinition of ‘output_doors’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:47:6: note: previous definition of ‘output_doors’ with type ‘void(struct door *, int)’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:58:6: error: redefinition of ‘initialize_doors’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:58:6: note: previous definition of ‘initialize_doors’ with type ‘void(struct door *)’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:23:5: error: redefinition of ‘main’
23 | int main(void) {
| ^~~~
door_struct.h:23:5: note: previous definition of ‘main’ with type ‘int(void)’
23 | int main(void) {
| ^~~~
door_struct.h:31:6: error: redefinition of ‘sort_doors’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:31:6: note: previous definition of ‘sort_doors’ with type ‘void(struct door *, int)’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:42:6: error: redefinition of ‘close_doors’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:42:6: note: previous definition of ‘close_doors’ with type ‘void(struct door *, int)’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:47:6: error: redefinition of ‘output_doors’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:47:6: note: previous definition of ‘output_doors’ with type ‘void(struct door *, int)’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:58:6: error: redefinition of ‘initialize_doors’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:58:6: note: previous definition of ‘initialize_doors’ with type ‘void(struct door *)’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:23:5: error: redefinition of ‘main’
23 | int main(void) {
| ^~~~
door_struct.h:23:5: note: previous definition of ‘main’ with type ‘int(void)’
23 | int main(void) {
| ^~~~
door_struct.h:31:6: error: redefinition of ‘sort_doors’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:31:6: note: previous definition of ‘sort_doors’ with type ‘void(struct door *, int)’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:42:6: error: redefinition of ‘close_doors’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:42:6: note: previous definition of ‘close_doors’ with type ‘void(struct door *, int)’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:47:6: error: redefinition of ‘output_doors’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:47:6: note: previous definition of ‘output_doors’ with type ‘void(struct door *, int)’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:58:6: error: redefinition of ‘initialize_doors’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:58:6: note: previous definition of ‘initialize_doors’ with type ‘void(struct door *)’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:23:5: error: redefinition of ‘main’
23 | int main(void) {
| ^~~~
door_struct.h:23:5: note: previous definition of ‘main’ with type ‘int(void)’
23 | int main(void) {
| ^~~~
door_struct.h:31:6: error: redefinition of ‘sort_doors’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:31:6: note: previous definition of ‘sort_doors’ with type ‘void(struct door *, int)’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:42:6: error: redefinition of ‘close_doors’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:42:6: note: previous definition of ‘close_doors’ with type ‘void(struct door *, int)’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:47:6: error: redefinition of ‘output_doors’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:47:6: note: previous definition of ‘output_doors’ with type ‘void(struct door *, int)’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:58:6: error: redefinition of ‘initialize_doors’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:58:6: note: previous definition of ‘initialize_doors’ with type ‘void(struct door *)’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:23:5: error: redefinition of ‘main’
23 | int main(void) {
| ^~~~
door_struct.h:23:5: note: previous definition of ‘main’ with type ‘int(void)’
23 | int main(void) {
| ^~~~
door_struct.h:31:6: error: redefinition of ‘sort_doors’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:31:6: note: previous definition of ‘sort_doors’ with type ‘void(struct door *, int)’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:42:6: error: redefinition of ‘close_doors’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:42:6: note: previous definition of ‘close_doors’ with type ‘void(struct door *, int)’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:47:6: error: redefinition of ‘output_doors’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:47:6: note: previous definition of ‘output_doors’ with type ‘void(struct door *, int)’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:58:6: error: redefinition of ‘initialize_doors’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:58:6: note: previous definition of ‘initialize_doors’ with type ‘void(struct door *)’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:23:5: error: redefinition of ‘main’
23 | int main(void) {
| ^~~~
door_struct.h:23:5: note: previous definition of ‘main’ with type ‘int(void)’
23 | int main(void) {
| ^~~~
door_struct.h:31:6: error: redefinition of ‘sort_doors’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:31:6: note: previous definition of ‘sort_doors’ with type ‘void(struct door *, int)’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:42:6: error: redefinition of ‘close_doors’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:42:6: note: previous definition of ‘close_doors’ with type ‘void(struct door *, int)’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:47:6: error: redefinition of ‘output_doors’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:47:6: note: previous definition of ‘output_doors’ with type ‘void(struct door *, int)’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:58:6: error: redefinition of ‘initialize_doors’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:58:6: note: previous definition of ‘initialize_doors’ with type ‘void(struct door *)’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:23:5: error: redefinition of ‘main’
23 | int main(void) {
| ^~~~
door_struct.h:23:5: note: previous definition of ‘main’ with type ‘int(void)’
23 | int main(void) {
| ^~~~
door_struct.h:31:6: error: redefinition of ‘sort_doors’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:31:6: note: previous definition of ‘sort_doors’ with type ‘void(struct door *, int)’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:42:6: error: redefinition of ‘close_doors’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:42:6: note: previous definition of ‘close_doors’ with type ‘void(struct door *, int)’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:47:6: error: redefinition of ‘output_doors’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:47:6: note: previous definition of ‘output_doors’ with type ‘void(struct door *, int)’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:58:6: error: redefinition of ‘initialize_doors’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:58:6: note: previous definition of ‘initialize_doors’ with type ‘void(struct door *)’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
dmanager_module.c:13:5: error: redefinition of ‘main’
13 | int main(void) {
| ^~~~
door_struct.h:23:5: note: previous definition of ‘main’ with type ‘int(void)’
23 | int main(void) {
| ^~~~
dmanager_module.c:21:6: error: redefinition of ‘sort_doors’
21 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
door_struct.h:31:6: note: previous definition of ‘sort_doors’ with type ‘void(struct door *, int)’
31 | void sort_doors(struct door *doors, int count) {
| ^~~~~~~~~~
dmanager_module.c:32:6: error: redefinition of ‘close_doors’
32 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
door_struct.h:42:6: note: previous definition of ‘close_doors’ with type ‘void(struct door *, int)’
42 | void close_doors(struct door *doors, int count) {
| ^~~~~~~~~~~
dmanager_module.c:37:6: error: redefinition of ‘output_doors’
37 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
door_struct.h:47:6: note: previous definition of ‘output_doors’ with type ‘void(struct door *, int)’
47 | void output_doors(struct door *doors, int count) {
| ^~~~~~~~~~~~
dmanager_module.c:48:6: error: redefinition of ‘initialize_doors’
48 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
door_struct.h:58:6: note: previous definition of ‘initialize_doors’ with type ‘void(struct door *)’
58 | void initialize_doors(struct door *doors) {
| ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make: *** [Makefile:14: ../build/Quest_1] Error 1
aldoemma@su-e2:~/D10T07.ID_1577488-1/src$