logo

utils-std

Collection of commonly available Unix tools git clone https://anongit.hacktivis.me/git/utils-std.git/
commit: b49d3dbb5062e097365381c9a1bc623a31db662c
parent b029444958f92b394b45a0aa4f2ca291165fc743
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sat, 28 Jun 2025 05:06:29 +0200

#include resort related to ./lib/ vs. ./libutils/

Diffstat:

Mcmd/cut.c2+-
Mcmd/sha1sum.c2+-
Mcmd/sha256sum.c2+-
Mcmd/sha512sum.c2+-
Mcmd/timeout.c2+-
Mcmd/touch.c2+-
Mcmd/tr.c2+-
7 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/cmd/cut.c b/cmd/cut.c @@ -4,8 +4,8 @@ #define _POSIX_C_SOURCE 202405L -#include "../libutils/getopt_nolong.h" #include "../lib/reallocarray.h" +#include "../libutils/getopt_nolong.h" #include <assert.h> #include <ctype.h> diff --git a/cmd/sha1sum.c b/cmd/sha1sum.c @@ -3,9 +3,9 @@ // SPDX-License-Identifier: MPL-2.0 #define _POSIX_C_SOURCE 200809L -#include "../libutils/getopt_nolong.h" #include "../lib/sha1.h" // sha1_* #include "../lib/strconv.h" // bytes2hex +#include "../libutils/getopt_nolong.h" #include <ctype.h> // isxdigit #include <errno.h> diff --git a/cmd/sha256sum.c b/cmd/sha256sum.c @@ -3,9 +3,9 @@ // SPDX-License-Identifier: MPL-2.0 #define _POSIX_C_SOURCE 200809L -#include "../libutils/getopt_nolong.h" #include "../lib/sha256.h" // sha256_* #include "../lib/strconv.h" // bytes2hex +#include "../libutils/getopt_nolong.h" #include <ctype.h> // isxdigit #include <errno.h> diff --git a/cmd/sha512sum.c b/cmd/sha512sum.c @@ -3,9 +3,9 @@ // SPDX-License-Identifier: MPL-2.0 #define _POSIX_C_SOURCE 200809L -#include "../libutils/getopt_nolong.h" #include "../lib/sha512.h" // sha512_* #include "../lib/strconv.h" // bytes2hex +#include "../libutils/getopt_nolong.h" #include <ctype.h> // isxdigit #include <errno.h> diff --git a/cmd/timeout.c b/cmd/timeout.c @@ -4,9 +4,9 @@ #define _POSIX_C_SOURCE 200809L #define _DEFAULT_SOURCE // For NSIG in sys_signame.h, thanks glibc +#include "../lib/sys_signame.h" #include "../libutils/getopt_nolong.h" #include "../libutils/strtodur.h" -#include "../lib/sys_signame.h" #include <ctype.h> #include <errno.h> diff --git a/cmd/touch.c b/cmd/touch.c @@ -6,7 +6,7 @@ #define _XOPEN_SOURCE 700 // strptime (NetBSD) #define _POSIX_C_SOURCE 200809L // O_NOFOLLOW, st_atim/st_mtim -#include "../lib/bitmasks.h" /* FIELD_* */ +#include "../lib/bitmasks.h" /* FIELD_* */ #include "../libutils/datetime_parse.h" /* datetime_parse */ #include "../libutils/getopt_nolong.h" diff --git a/cmd/tr.c b/cmd/tr.c @@ -32,9 +32,9 @@ #define _DEFAULT_SOURCE +#include "../lib/tr_str.h" #include "../libutils/err.h" #include "../libutils/getopt_nolong.h" -#include "../lib/tr_str.h" #include <stdio.h> #include <stdlib.h>