diff options
| author | David M. Syzdek <david@syzdek.net> | 2022-01-24 16:52:57 -0900 |
|---|---|---|
| committer | David M. Syzdek <david@syzdek.net> | 2022-01-24 16:52:57 -0900 |
| commit | e87bcb8663e548bf9c51dc96ab9c2ea65832d7bd (patch) | |
| tree | 81b99db631ac1d6345d94602115efad4727516dd /src | |
| parent | ae3ee4c8d6943622859922da3092580fcc4c6835 (diff) | |
| download | tinyrad-e87bcb8663e548bf9c51dc96ab9c2ea65832d7bd.tar.gz tinyrad-e87bcb8663e548bf9c51dc96ab9c2ea65832d7bd.tar.bz2 tinyrad-e87bcb8663e548bf9c51dc96ab9c2ea65832d7bd.tar.xz tinyrad-e87bcb8663e548bf9c51dc96ab9c2ea65832d7bd.zip | |
tinyrad: cleaning up header include order
Diffstat (limited to 'src')
| -rw-r--r-- | src/common.c | 3 | ||||
| -rw-r--r-- | src/tinyrad.c | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/src/common.c b/src/common.c index e339859..a014958 100644 --- a/src/common.c +++ b/src/common.c | |||
| @@ -29,6 +29,7 @@ | |||
| 29 | * SUCH DAMAGE. | 29 | * SUCH DAMAGE. |
| 30 | */ | 30 | */ |
| 31 | #define _SRC_UTILITIES_TINYRAD_URL_C 1 | 31 | #define _SRC_UTILITIES_TINYRAD_URL_C 1 |
| 32 | #include "common.h" | ||
| 32 | 33 | ||
| 33 | 34 | ||
| 34 | /////////////// | 35 | /////////////// |
| @@ -45,8 +46,6 @@ | |||
| 45 | #include <strings.h> | 46 | #include <strings.h> |
| 46 | #include <assert.h> | 47 | #include <assert.h> |
| 47 | 48 | ||
| 48 | #include "common.h" | ||
| 49 | |||
| 50 | 49 | ||
| 51 | /////////////////// | 50 | /////////////////// |
| 52 | // // | 51 | // // |
diff --git a/src/tinyrad.c b/src/tinyrad.c index 3dcd8e0..0569dd2 100644 --- a/src/tinyrad.c +++ b/src/tinyrad.c | |||
| @@ -38,6 +38,8 @@ | |||
| 38 | /////////////// | 38 | /////////////// |
| 39 | #pragma mark - Headers | 39 | #pragma mark - Headers |
| 40 | 40 | ||
| 41 | #include "common.h" | ||
| 42 | |||
| 41 | #include <stdio.h> | 43 | #include <stdio.h> |
| 42 | #include <stdarg.h> | 44 | #include <stdarg.h> |
| 43 | #include <stdlib.h> | 45 | #include <stdlib.h> |
| @@ -46,8 +48,6 @@ | |||
| 46 | #include <unistd.h> | 48 | #include <unistd.h> |
| 47 | #include <getopt.h> | 49 | #include <getopt.h> |
| 48 | 50 | ||
| 49 | #include "common.h" | ||
| 50 | |||
| 51 | 51 | ||
| 52 | /////////////////// | 52 | /////////////////// |
| 53 | // // | 53 | // // |
