Overview
Comment: | use typedef inside main |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
e80b4c427f41d6eef7fe4290955aeefd |
User & Date: | nnz on 2024-12-02 22:45:00 |
Other Links: | manifest | tags |
Context
2024-12-03
| ||
10:00 | 202403 1st star check-in: 90b164fce2 user: nnz tags: trunk | |
2024-12-02
| ||
22:45 | use typedef inside main check-in: e80b4c427f user: nnz tags: trunk | |
22:43 | renamed function select to aocselect check-in: 65953b2da6 user: nnz tags: trunk | |
Changes
Modified aoc.c from [10dd7645fa] to [d7e84791d2].
︙ | ︙ | |||
34 35 36 37 38 39 40 | exit(EXIT_FAILURE); } // read data from dataname into input char *input = NULL; size_t ilen = slurp(&input, dataname); // call the right function | | | 34 35 36 37 38 39 40 41 42 43 44 45 | exit(EXIT_FAILURE); } // read data from dataname into input char *input = NULL; size_t ilen = slurp(&input, dataname); // call the right function aocfunc *p = aocselect(y, d); if (p) p(input, ilen); else fprintf(stderr, "Impossible!\n"); free(input); } |