diff options
-rw-r--r-- | config.c | 4 | ||||
-rw-r--r-- | spm.c | 11 | ||||
-rw-r--r-- | spm.h | 13 |
3 files changed, 13 insertions, 15 deletions
@@ -1,10 +1,6 @@ /** * @file config.c */ -#include <ctype.h> -#include <stdio.h> -#include <string.h> -#include <stdlib.h> #include "spm.h" /// Remove leading whitespace from a string @@ -3,17 +3,6 @@ * @file spm.c */ -#include <ctype.h> -#include <errno.h> -#include <glob.h> -#include <stdio.h> -#include <stdlib.h> -#include <limits.h> -#include <stdarg.h> -#include <string.h> -#include <unistd.h> -#include <time.h> -#include "config.h" #include "spm.h" /** @@ -1,6 +1,19 @@ #ifndef SPM_SPM_H #define SPM_SPM_H +#include <ctype.h> +#include <errno.h> +#include <glob.h> +#include <stdio.h> +#include <stdlib.h> +#include <limits.h> +#include <stdarg.h> +#include <string.h> +#include <unistd.h> +#include <time.h> + +#include "config.h" + // spm.c #define SYSERROR stderr, "%s:%s:%d: %s\n", __FILE__, __FUNCTION__, __LINE__, strerror(errno) #define DIRSEP_WIN32 '\\' |