author | Olivier Brunel
<jjk@jjacky.com> 2023-03-31 14:14:36 UTC |
committer | Olivier Brunel
<jjk@jjacky.com> 2023-05-20 18:06:34 UTC |
parent | 87312a1ab8b1825b29950cabc611699d440d012f |
src/include/blake3.h | +3 | -3 |
src/include/hmap.h | +2 | -2 |
src/include/loadopt.h | +2 | -2 |
src/include/sha3/byte_order.h | +2 | -2 |
src/include/sha3/sha3.h | +2 | -2 |
src/liblimb/buffer.h/buffer_putesc.c | +1 | -1 |
src/liblimb/buffer.h/buffer_putescall.c | +1 | -1 |
src/liblimb/buffer.h/buffer_putescs.c | +1 | -1 |
src/liblimb/buffer.h/buffer_puthex.c | +1 | -1 |
src/liblimb/buffer.h/buffer_putmsg.c | +2 | -2 |
src/liblimb/bytestr.h/byte_get_match.c | +1 | -1 |
src/liblimb/bytestr.h/byte_get_match_full.c | +1 | -1 |
src/liblimb/bytestr.h/byte_str.c | +1 | -1 |
src/liblimb/direntry.h/opendirat.c | +1 | -1 |
src/liblimb/djbunix.h/rm_rf_in_tmpat.c | +1 | -1 |
src/liblimb/djbunix.h/rm_rf_tmpat.c | +1 | -1 |
src/liblimb/djbunix.h/rm_rfat.c | +1 | -1 |
src/liblimb/djbunix.h/rmstar_in_tmpat.c | +1 | -1 |
src/liblimb/djbunix.h/rmstar_tmpat.c | +1 | -1 |
src/liblimb/djbunix.h/rmstarat.c | +1 | -1 |
src/liblimb/djbunix.h/salsat.c | +2 | -2 |
src/liblimb/djbunix.h/sareadlinkat.c | +1 | -1 |
src/liblimb/djbunix.h/sareadlinkat0.c | +1 | -1 |
src/liblimb/hasher.h/hasher_hash.c | +1 | -1 |
src/liblimb/hasher_blake3.h/hasher_blake3.c | +2 | -2 |
src/liblimb/hasher_sha1.h/hasher_sha1.c | +1 | -1 |
src/liblimb/hasher_sha256.h/hasher_sha256.c | +1 | -1 |
src/liblimb/hasher_sha3_224.h/hasher_sha3_224.c | +2 | -2 |
src/liblimb/hasher_sha3_256.h/hasher_sha3_256.c | +2 | -2 |
src/liblimb/hasher_sha3_384.h/hasher_sha3_384.c | +2 | -2 |
src/liblimb/hasher_sha3_512.h/hasher_sha3_512.c | +2 | -2 |
src/liblimb/hasher_sha512.h/hasher_sha512.c | +1 | -1 |
src/liblimb/hlookup.h/hlookup.c | +1 | -1 |
src/liblimb/hlookup.h/hlookup32.c | +1 | -1 |
src/liblimb/hlookup.h/hlookup64.c | +1 | -1 |
src/liblimb/hmac.h/hmac.c | +1 | -1 |
src/liblimb/hmap.h/hmap_init.c | +1 | -1 |
src/liblimb/include/limb/blake3.h | +1 | -1 |
src/liblimb/include/limb/hasher.h | +1 | -1 |
src/liblimb/include/limb/hasher_blake3.h | +1 | -1 |
src/liblimb/include/limb/hasher_sha1.h | +1 | -1 |
src/liblimb/include/limb/hasher_sha256.h | +1 | -1 |
src/liblimb/include/limb/hasher_sha3_224.h | +1 | -1 |
src/liblimb/include/limb/hasher_sha3_256.h | +1 | -1 |
src/liblimb/include/limb/hasher_sha3_384.h | +1 | -1 |
src/liblimb/include/limb/hasher_sha3_512.h | +1 | -1 |
src/liblimb/include/limb/hasher_sha512.h | +1 | -1 |
src/liblimb/include/limb/hlookup.h | +1 | -1 |
src/liblimb/include/limb/hmac.h | +1 | -1 |
src/liblimb/include/limb/hmap.h | +1 | -1 |
src/liblimb/include/limb/loadopt.h | +1 | -1 |
src/liblimb/include/limb/obuffer.h | +2 | -2 |
src/liblimb/include/limb/obuffers.h | +1 | -1 |
src/liblimb/include/limb/output.h | +1 | -1 |
src/liblimb/include/limb/parseopt.h | +1 | -1 |
src/liblimb/include/limb/saencdata.h | +1 | -1 |
src/liblimb/include/limb/sha3.h | +1 | -1 |
src/liblimb/include/limb/u16.h | +2 | -2 |
src/liblimb/include/limb/u32.h | +2 | -2 |
src/liblimb/include/limb/u64.h | +2 | -2 |
src/liblimb/include/limb/uint64.h | +1 | -1 |
src/liblimb/loadopt.h/loadopt.c | +4 | -4 |
src/liblimb/loadopt.h/loadopt_handle_noconfig.c | +5 | -2 |
src/liblimb/nextsplit.h/nextsplit_ae.c | +2 | -2 |
src/liblimb/nextsplit.h/nextsplit_buz.c | +2 | -2 |
src/liblimb/nextsplit.h/nextsplit_rabin.c | +3 | -3 |
src/liblimb/obuffer.h/obuffer_put.c | +1 | -1 |
src/liblimb/obuffer.h/obuffer_putmsg.c | +1 | -1 |
src/liblimb/obuffer.h/obuffers_putmsg.c | +1 | -1 |
src/liblimb/obuffers.h/dbg_putmsg.c | +1 | -1 |
src/liblimb/obuffers.h/err_putmsg.c | +1 | -1 |
src/liblimb/obuffers.h/err_putmsgdie.c | +1 | -1 |
src/liblimb/obuffers.h/extras_putmsg.c | +1 | -1 |
src/liblimb/obuffers.h/obuffers_adddbg.c | +1 | -1 |
src/liblimb/obuffers.h/obuffers_addextra.c | +1 | -1 |
src/liblimb/obuffers.h/obuffers_addlog.c | +1 | -1 |
src/liblimb/obuffers.h/obuffers_remdbg.c | +1 | -1 |
src/liblimb/obuffers.h/obuffers_remextra.c | +1 | -1 |
src/liblimb/obuffers.h/obuffers_remlog.c | +1 | -1 |
src/liblimb/obuffers.h/out_putmsg.c | +1 | -1 |
src/liblimb/obuffers.h/out_putmsgdie.c | +1 | -1 |
src/liblimb/parseopt.h/parseopt.c | +2 | -2 |
src/liblimb/saencdata.h/saencdata.c | +3 | -3 |
src/liblimb/samisc.h/sacoloff.c | +1 | -1 |
src/liblimb/samisc.h/sacolptr.c | +1 | -1 |
src/liblimb/samisc.h/saoff2ptr.c | +1 | -1 |
src/liblimb/siovec.h/siovec_gather0.c | +1 | -1 |
src/liblimb/siovec.h/siovec_memcmp.c | +1 | -1 |
src/liblimb/siovec.h/siovec_off.c | +1 | -1 |
src/liblimb/siovec.h/siovec_seek_bytechr.c | +1 | -1 |
src/liblimb/siovec.h/siovec_seek_bytein.c | +1 | -1 |
src/liblimb/siovec.h/siovec_seek_gather.c | +1 | -1 |
src/liblimb/siovec.h/siovec_seek_gather0.c | +1 | -1 |
src/liblimb/u640_fmt_generic.c | +1 | -1 |
src/liblimb/u64_fmt_generic.c | +1 | -1 |
src/liblimb/uint64.h/msb64.c | +1 | -1 |
src/liblimb/uint64.h/uint64_pack_trim.c | +1 | -1 |
src/liblimb/uint64.h/uint64_unpack_trim.c | +1 | -1 |
src/liblimb/unix-transactional.h/open_createat.c | +1 | -1 |
src/liblimb/unix-transactional.h/open_exclat.c | +1 | -1 |
src/liblimb/unix-transactional.h/openc_createat.c | +1 | -1 |
src/liblimb/unix-transactional.h/openc_exclat.c | +1 | -1 |
src/mkrabintables/mkrabintables.c | +3 | -3 |
diff --git a/src/include/blake3.h b/src/include/blake3.h index aabb8c6..df935e2 100644 --- a/src/include/blake3.h +++ b/src/include/blake3.h @@ -8,9 +8,9 @@ #define LIMB_BLAKE3_BLAKE3_H #include <string.h> -#include "limb/blake3.h" -#include "limb/gccattributes.h" -#include "limb/uint64.h" +#include <limb/blake3.h> +#include <limb/gccattributes.h> +#include <limb/uint64.h> /* internal flags */ enum blake3_flags { diff --git a/src/include/hmap.h b/src/include/hmap.h index eca0277..0bb4e39 100644 --- a/src/include/hmap.h +++ b/src/include/hmap.h @@ -5,8 +5,8 @@ #define LIMB_INTERNAL_HMAP_H #include <errno.h> -#include "limb/hmap.h" -#include "limb/gccattributes.h" +#include <limb/hmap.h> +#include <limb/gccattributes.h> #define MINSIZE 8 #define MAXSIZE ((u32) -1 / 2 + 1) diff --git a/src/include/loadopt.h b/src/include/loadopt.h index 71b5045..07fe3a8 100644 --- a/src/include/loadopt.h +++ b/src/include/loadopt.h @@ -4,8 +4,8 @@ #ifndef LIMB_LIMB_LOADOPT_H #define LIMB_LIMB_LOADOPT_H -#include "limb/parseopt.h" -#include "limb/gccattributes.h" +#include <limb/parseopt.h> +#include <limb/gccattributes.h> enum state { STATE_NONE = 0, diff --git a/src/include/sha3/byte_order.h b/src/include/sha3/byte_order.h index 08d0613..64f4091 100644 --- a/src/include/sha3/byte_order.h +++ b/src/include/sha3/byte_order.h @@ -7,8 +7,8 @@ #define BYTE_ORDER_H #include <unistd.h> #include <stdlib.h> -#include "limb/gccattributes.h" -#include "limb/int.h" +#include <limb/gccattributes.h> +#include <limb/int.h> #if defined(__GLIBC__) # include <endian.h> diff --git a/src/include/sha3/sha3.h b/src/include/sha3/sha3.h index 0c99824..f56c683 100644 --- a/src/include/sha3/sha3.h +++ b/src/include/sha3/sha3.h @@ -6,8 +6,8 @@ #ifndef LIMB_SHA3_SHA3_H #define LIMB_SHA3_SHA3_H -#include "limb/gccattributes.h" -#include "limb/sha3.h" +#include <limb/gccattributes.h> +#include <limb/sha3.h> #include "sha3/byte_order.h" #define SHA3_FINALIZED 0x80000000 diff --git a/src/liblimb/buffer.h/buffer_putesc.c b/src/liblimb/buffer.h/buffer_putesc.c index c96cd82..ecff395 100644 --- a/src/liblimb/buffer.h/buffer_putesc.c +++ b/src/liblimb/buffer.h/buffer_putesc.c @@ -2,7 +2,7 @@ * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ #include <errno.h> -#include "limb/buffer.h" +#include <limb/buffer.h> ssize_t buffer_putesc(buffer *b, const char *s, size_t len) diff --git a/src/liblimb/buffer.h/buffer_putescall.c b/src/liblimb/buffer.h/buffer_putescall.c index 84daa3d..69a2ed9 100644 --- a/src/liblimb/buffer.h/buffer_putescall.c +++ b/src/liblimb/buffer.h/buffer_putescall.c @@ -7,7 +7,7 @@ #include <wctype.h> #include <wchar.h> #include <skalibs/fmtscan.h> -#include "limb/buffer.h" +#include <limb/buffer.h> size_t buffer_putescall(buffer *b, const char *s, size_t len, size_t *pos) diff --git a/src/liblimb/buffer.h/buffer_putescs.c b/src/liblimb/buffer.h/buffer_putescs.c index be94544..980aadf 100644 --- a/src/liblimb/buffer.h/buffer_putescs.c +++ b/src/liblimb/buffer.h/buffer_putescs.c @@ -2,7 +2,7 @@ * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ #include <string.h> -#include "limb/buffer.h" +#include <limb/buffer.h> ssize_t buffer_putescs(buffer *b, const char *s) diff --git a/src/liblimb/buffer.h/buffer_puthex.c b/src/liblimb/buffer.h/buffer_puthex.c index 71c6697..6076ac4 100644 --- a/src/liblimb/buffer.h/buffer_puthex.c +++ b/src/liblimb/buffer.h/buffer_puthex.c @@ -2,7 +2,7 @@ * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ #include <skalibs/fmtscan.h> -#include "limb/buffer.h" +#include <limb/buffer.h> ssize_t buffer_puthex(buffer *b, const void *data_, size_t dlen) diff --git a/src/liblimb/buffer.h/buffer_putmsg.c b/src/liblimb/buffer.h/buffer_putmsg.c index b8c4623..77e385f 100644 --- a/src/liblimb/buffer.h/buffer_putmsg.c +++ b/src/liblimb/buffer.h/buffer_putmsg.c @@ -2,8 +2,8 @@ * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ #include <errno.h> -#include "limb/buffer.h" -#include "limb/u64.h" +#include <limb/buffer.h> +#include <limb/u64.h> void buffer_putmsg(buffer *b, const char * const *as, unsigned int n) diff --git a/src/liblimb/bytestr.h/byte_get_match.c b/src/liblimb/bytestr.h/byte_get_match.c index 3c3209c..f474ce0 100644 --- a/src/liblimb/bytestr.h/byte_get_match.c +++ b/src/liblimb/bytestr.h/byte_get_match.c @@ -1,7 +1,7 @@ /* This file is part of limb https://lila.oss/limb * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ -#include "limb/bytestr.h" +#include <limb/bytestr.h> int byte_get_match(int *first, const char *str, size_t slen, const char **list) diff --git a/src/liblimb/bytestr.h/byte_get_match_full.c b/src/liblimb/bytestr.h/byte_get_match_full.c index 049c5eb..bc3e3ca 100644 --- a/src/liblimb/bytestr.h/byte_get_match_full.c +++ b/src/liblimb/bytestr.h/byte_get_match_full.c @@ -1,7 +1,7 @@ /* This file is part of limb https://lila.oss/limb * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ -#include "limb/bytestr.h" +#include <limb/bytestr.h> int byte_get_match_full(int *first, const char *str, size_t slen, diff --git a/src/liblimb/bytestr.h/byte_str.c b/src/liblimb/bytestr.h/byte_str.c index cb495aa..4bf9961 100644 --- a/src/liblimb/bytestr.h/byte_str.c +++ b/src/liblimb/bytestr.h/byte_str.c @@ -2,7 +2,7 @@ * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ #include <skalibs/posixplz.h> -#include "limb/bytestr.h" +#include <limb/bytestr.h> size_t byte_str(const char *haystack, size_t hlen, const char *needle, size_t nlen) diff --git a/src/liblimb/direntry.h/opendirat.c b/src/liblimb/direntry.h/opendirat.c index 6af91f3..3c4291d 100644 --- a/src/liblimb/direntry.h/opendirat.c +++ b/src/liblimb/direntry.h/opendirat.c @@ -3,7 +3,7 @@ /* SPDX-License-Identifier: GPL-2.0-only */ #include <skalibs/djbunix.h> #include <skalibs/unix-transactional.h> -#include "limb/direntry.h" +#include <limb/direntry.h> DIR * opendirat(int bfd, const char *name) diff --git a/src/liblimb/djbunix.h/rm_rf_in_tmpat.c b/src/liblimb/djbunix.h/rm_rf_in_tmpat.c index 791c510..8438789 100644 --- a/src/liblimb/djbunix.h/rm_rf_in_tmpat.c +++ b/src/liblimb/djbunix.h/rm_rf_in_tmpat.c @@ -4,7 +4,7 @@ #include <errno.h> #include <fcntl.h> #include <unistd.h> -#include "limb/djbunix.h" +#include <limb/djbunix.h> int rm_rf_in_tmpat(int fd, stralloc *sa, size_t offset) diff --git a/src/liblimb/djbunix.h/rm_rf_tmpat.c b/src/liblimb/djbunix.h/rm_rf_tmpat.c index 6fc88b4..5e99cce 100644 --- a/src/liblimb/djbunix.h/rm_rf_tmpat.c +++ b/src/liblimb/djbunix.h/rm_rf_tmpat.c @@ -1,7 +1,7 @@ /* This file is part of limb https://lila.oss/limb * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ -#include "limb/djbunix.h" +#include <limb/djbunix.h> int rm_rf_tmpat(int fd, const char *name, stralloc *sa) diff --git a/src/liblimb/djbunix.h/rm_rfat.c b/src/liblimb/djbunix.h/rm_rfat.c index 9f6199f..9261b2a 100644 --- a/src/liblimb/djbunix.h/rm_rfat.c +++ b/src/liblimb/djbunix.h/rm_rfat.c @@ -2,7 +2,7 @@ * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ #include <skalibs/skamisc.h> -#include "limb/djbunix.h" +#include <limb/djbunix.h> int rm_rfat(int fd, const char *name) diff --git a/src/liblimb/djbunix.h/rmstar_in_tmpat.c b/src/liblimb/djbunix.h/rmstar_in_tmpat.c index de271ca..2e47cc9 100644 --- a/src/liblimb/djbunix.h/rmstar_in_tmpat.c +++ b/src/liblimb/djbunix.h/rmstar_in_tmpat.c @@ -1,7 +1,7 @@ /* This file is part of limb https://lila.oss/limb * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ -#include "limb/djbunix.h" +#include <limb/djbunix.h> int rmstar_in_tmpat(int fd, stralloc *sa, size_t offset) diff --git a/src/liblimb/djbunix.h/rmstar_tmpat.c b/src/liblimb/djbunix.h/rmstar_tmpat.c index bf2423b..e040143 100644 --- a/src/liblimb/djbunix.h/rmstar_tmpat.c +++ b/src/liblimb/djbunix.h/rmstar_tmpat.c @@ -1,7 +1,7 @@ /* This file is part of limb https://lila.oss/limb * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ -#include "limb/djbunix.h" +#include <limb/djbunix.h> int rmstar_tmpat(int fd, const char *name, stralloc *sa) diff --git a/src/liblimb/djbunix.h/rmstarat.c b/src/liblimb/djbunix.h/rmstarat.c index e8336d2..f50888e 100644 --- a/src/liblimb/djbunix.h/rmstarat.c +++ b/src/liblimb/djbunix.h/rmstarat.c @@ -2,7 +2,7 @@ * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ #include <skalibs/skamisc.h> -#include "limb/djbunix.h" +#include <limb/djbunix.h> int rmstarat(int fd, const char *name) diff --git a/src/liblimb/djbunix.h/salsat.c b/src/liblimb/djbunix.h/salsat.c index 8aaa396..ac5275d 100644 --- a/src/liblimb/djbunix.h/salsat.c +++ b/src/liblimb/djbunix.h/salsat.c @@ -3,8 +3,8 @@ /* SPDX-License-Identifier: GPL-2.0-only */ #include <errno.h> #include <dirent.h> -#include "limb/direntry.h" -#include "limb/djbunix.h" +#include <limb/direntry.h> +#include <limb/djbunix.h> int salsat(int fd, const char *name, stralloc *sa, size_t *mlen) diff --git a/src/liblimb/djbunix.h/sareadlinkat.c b/src/liblimb/djbunix.h/sareadlinkat.c index b844750..0e9887a 100644 --- a/src/liblimb/djbunix.h/sareadlinkat.c +++ b/src/liblimb/djbunix.h/sareadlinkat.c @@ -2,7 +2,7 @@ * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ #include <unistd.h> -#include "limb/djbunix.h" +#include <limb/djbunix.h> int sareadlinkat(stralloc *sa, int fd, const char * restrict file) diff --git a/src/liblimb/djbunix.h/sareadlinkat0.c b/src/liblimb/djbunix.h/sareadlinkat0.c index 95e11b9..9930076 100644 --- a/src/liblimb/djbunix.h/sareadlinkat0.c +++ b/src/liblimb/djbunix.h/sareadlinkat0.c @@ -1,7 +1,7 @@ /* This file is part of limb https://lila.oss/limb * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ -#include "limb/djbunix.h" +#include <limb/djbunix.h> int sareadlinkat0(stralloc *sa, int fd, const char * restrict file) diff --git a/src/liblimb/hasher.h/hasher_hash.c b/src/liblimb/hasher.h/hasher_hash.c index 2259a84..98424ee 100644 --- a/src/liblimb/hasher.h/hasher_hash.c +++ b/src/liblimb/hasher.h/hasher_hash.c @@ -1,7 +1,7 @@ /* This file is part of limb https://lila.oss/limb * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ -#include "limb/hasher.h" +#include <limb/hasher.h> void hasher_hash(void *md, const void *msg, size_t mlen, hasher *h) diff --git a/src/liblimb/hasher_blake3.h/hasher_blake3.c b/src/liblimb/hasher_blake3.h/hasher_blake3.c index 90da431..3fe97ab 100644 --- a/src/liblimb/hasher_blake3.h/hasher_blake3.c +++ b/src/liblimb/hasher_blake3.h/hasher_blake3.c @@ -1,8 +1,8 @@ /* This file is part of limb https://lila.oss/limb * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ -#include "limb/hasher_blake3.h" -#include "limb/blake3.h" +#include <limb/hasher_blake3.h> +#include <limb/blake3.h> struct hblake3 { hasher h; diff --git a/src/liblimb/hasher_sha1.h/hasher_sha1.c b/src/liblimb/hasher_sha1.h/hasher_sha1.c index 81fc677..ead857a 100644 --- a/src/liblimb/hasher_sha1.h/hasher_sha1.c +++ b/src/liblimb/hasher_sha1.h/hasher_sha1.c @@ -2,7 +2,7 @@ * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ #include <skalibs/sha1.h> -#include "limb/hasher_sha1.h" +#include <limb/hasher_sha1.h> static void hsha1_init(void *ctx); static void hsha1_update(const void *msg, size_t mlen, void *ctx); diff --git a/src/liblimb/hasher_sha256.h/hasher_sha256.c b/src/liblimb/hasher_sha256.h/hasher_sha256.c index d12440b..d0f7ec4 100644 --- a/src/liblimb/hasher_sha256.h/hasher_sha256.c +++ b/src/liblimb/hasher_sha256.h/hasher_sha256.c @@ -2,7 +2,7 @@ * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ #include <skalibs/sha256.h> -#include "limb/hasher_sha256.h" +#include <limb/hasher_sha256.h> static void hsha256_init(void *ctx); static void hsha256_update(const void *msg, size_t mlen, void *ctx); diff --git a/src/liblimb/hasher_sha3_224.h/hasher_sha3_224.c b/src/liblimb/hasher_sha3_224.h/hasher_sha3_224.c index eece4aa..f04349e 100644 --- a/src/liblimb/hasher_sha3_224.h/hasher_sha3_224.c +++ b/src/liblimb/hasher_sha3_224.h/hasher_sha3_224.c @@ -1,8 +1,8 @@ /* This file is part of limb https://lila.oss/limb * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ -#include "limb/hasher_sha3_224.h" -#include "limb/sha3.h" +#include <limb/hasher_sha3_224.h> +#include <limb/sha3.h> struct hsha3_224 { hasher h; diff --git a/src/liblimb/hasher_sha3_256.h/hasher_sha3_256.c b/src/liblimb/hasher_sha3_256.h/hasher_sha3_256.c index 540f7a8..dc362e9 100644 --- a/src/liblimb/hasher_sha3_256.h/hasher_sha3_256.c +++ b/src/liblimb/hasher_sha3_256.h/hasher_sha3_256.c @@ -1,8 +1,8 @@ /* This file is part of limb https://lila.oss/limb * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ -#include "limb/hasher_sha3_256.h" -#include "limb/sha3.h" +#include <limb/hasher_sha3_256.h> +#include <limb/sha3.h> struct hsha3_256 { hasher h; diff --git a/src/liblimb/hasher_sha3_384.h/hasher_sha3_384.c b/src/liblimb/hasher_sha3_384.h/hasher_sha3_384.c index 7668911..7fe96a3 100644 --- a/src/liblimb/hasher_sha3_384.h/hasher_sha3_384.c +++ b/src/liblimb/hasher_sha3_384.h/hasher_sha3_384.c @@ -1,8 +1,8 @@ /* This file is part of limb https://lila.oss/limb * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ -#include "limb/hasher_sha3_384.h" -#include "limb/sha3.h" +#include <limb/hasher_sha3_384.h> +#include <limb/sha3.h> struct hsha3_384 { hasher h; diff --git a/src/liblimb/hasher_sha3_512.h/hasher_sha3_512.c b/src/liblimb/hasher_sha3_512.h/hasher_sha3_512.c index aa30938..4483bd8 100644 --- a/src/liblimb/hasher_sha3_512.h/hasher_sha3_512.c +++ b/src/liblimb/hasher_sha3_512.h/hasher_sha3_512.c @@ -1,8 +1,8 @@ /* This file is part of limb https://lila.oss/limb * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ -#include "limb/hasher_sha3_512.h" -#include "limb/sha3.h" +#include <limb/hasher_sha3_512.h> +#include <limb/sha3.h> struct hsha3_512 { hasher h; diff --git a/src/liblimb/hasher_sha512.h/hasher_sha512.c b/src/liblimb/hasher_sha512.h/hasher_sha512.c index e8ac4ea..47ac1a5 100644 --- a/src/liblimb/hasher_sha512.h/hasher_sha512.c +++ b/src/liblimb/hasher_sha512.h/hasher_sha512.c @@ -2,7 +2,7 @@ * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ #include <skalibs/sha512.h> -#include "limb/hasher_sha512.h" +#include <limb/hasher_sha512.h> static void hsha512_init(void *ctx); static void hsha512_update(const void *msg, size_t mlen, void *ctx); diff --git a/src/liblimb/hlookup.h/hlookup.c b/src/liblimb/hlookup.h/hlookup.c index 5b1f270..5602a87 100644 --- a/src/liblimb/hlookup.h/hlookup.c +++ b/src/liblimb/hlookup.h/hlookup.c @@ -3,7 +3,7 @@ /* Based on hashlittle2 (lookup3) * Copyright (C) 2006 Bob Jenkins -- Public Domain */ /* SPDX-License-Identifier: ISC */ -#include "limb/hlookup.h" +#include <limb/hlookup.h> #include "config.h" #if LIMB_ENDIAN == LIMB_LITTLE diff --git a/src/liblimb/hlookup.h/hlookup32.c b/src/liblimb/hlookup.h/hlookup32.c index 0dcbbd9..af592fe 100644 --- a/src/liblimb/hlookup.h/hlookup32.c +++ b/src/liblimb/hlookup.h/hlookup32.c @@ -1,7 +1,7 @@ /* This file is part of limb https://lila.oss/limb * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ -#include "limb/hlookup.h" +#include <limb/hlookup.h> u32 hlookup32(const void *data, size_t dlen) diff --git a/src/liblimb/hlookup.h/hlookup64.c b/src/liblimb/hlookup.h/hlookup64.c index 3052e87..965370c 100644 --- a/src/liblimb/hlookup.h/hlookup64.c +++ b/src/liblimb/hlookup.h/hlookup64.c @@ -1,7 +1,7 @@ /* This file is part of limb https://lila.oss/limb * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ -#include "limb/hlookup.h" +#include <limb/hlookup.h> u64 hlookup64(const void *data, size_t dlen) diff --git a/src/liblimb/hmac.h/hmac.c b/src/liblimb/hmac.h/hmac.c index 5c2b926..9027c4b 100644 --- a/src/liblimb/hmac.h/hmac.c +++ b/src/liblimb/hmac.h/hmac.c @@ -3,7 +3,7 @@ /* SPDX-License-Identifier: GPL-2.0-only */ #include <string.h> #include <skalibs/bytestr.h> -#include "limb/hmac.h" +#include <limb/hmac.h> void hmac(char *out, hasher *h, const void *key, size_t klen, const void *msg, size_t mlen) diff --git a/src/liblimb/hmap.h/hmap_init.c b/src/liblimb/hmap.h/hmap_init.c index 300bf34..fddda9e 100644 --- a/src/liblimb/hmap.h/hmap_init.c +++ b/src/liblimb/hmap.h/hmap_init.c @@ -2,7 +2,7 @@ * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ #include <errno.h> -#include "limb/uint64.h" +#include <limb/uint64.h> #include "hmap.h" int diff --git a/src/liblimb/include/limb/blake3.h b/src/liblimb/include/limb/blake3.h index e5289e3..b81a6a1 100644 --- a/src/liblimb/include/limb/blake3.h +++ b/src/liblimb/include/limb/blake3.h @@ -5,7 +5,7 @@ #define LIMB_BLAKE3_H #include <stddef.h> /* size_t */ -#include "limb/int.h" +#include <limb/int.h> #define BLAKE3_KEY_LEN 32 #define BLAKE3_OUT_LEN 32 diff --git a/src/liblimb/include/limb/hasher.h b/src/liblimb/include/limb/hasher.h index af7aa1a..a21f906 100644 --- a/src/liblimb/include/limb/hasher.h +++ b/src/liblimb/include/limb/hasher.h @@ -5,7 +5,7 @@ #define LIMB_HASHER_H #include <stddef.h> /* size_t */ -#include "limb/int.h" +#include <limb/int.h> typedef void (*hasher_init) (void *ctx); typedef void (*hasher_update) (const void *msg, size_t mlen, void *ctx); diff --git a/src/liblimb/include/limb/hasher_blake3.h b/src/liblimb/include/limb/hasher_blake3.h index 8294afb..6a753f0 100644 --- a/src/liblimb/include/limb/hasher_blake3.h +++ b/src/liblimb/include/limb/hasher_blake3.h @@ -4,7 +4,7 @@ #ifndef LIMB_HASHER_BLAKE3_H #define LIMB_HASHER_BLAKE3_H -#include "limb/hasher.h" +#include <limb/hasher.h> extern struct hblake3 hasher_blake3; #define blake3 ((hasher *) (&hasher_blake3)) diff --git a/src/liblimb/include/limb/hasher_sha1.h b/src/liblimb/include/limb/hasher_sha1.h index 3049c87..ed54407 100644 --- a/src/liblimb/include/limb/hasher_sha1.h +++ b/src/liblimb/include/limb/hasher_sha1.h @@ -4,7 +4,7 @@ #ifndef LIMB_HASHER_SHA1_H #define LIMB_HASHER_SHA1_H -#include "limb/hasher.h" +#include <limb/hasher.h> extern struct hsha1 hasher_sha1; #define sha1 ((hasher *) (&hasher_sha1)) diff --git a/src/liblimb/include/limb/hasher_sha256.h b/src/liblimb/include/limb/hasher_sha256.h index 3983caa..cd3de2d 100644 --- a/src/liblimb/include/limb/hasher_sha256.h +++ b/src/liblimb/include/limb/hasher_sha256.h @@ -4,7 +4,7 @@ #ifndef LIMB_HASHER_SHA256_H #define LIMB_HASHER_SHA256_H -#include "limb/hasher.h" +#include <limb/hasher.h> extern struct hsha256 hasher_sha256; #define sha256 ((hasher *) (&hasher_sha256)) diff --git a/src/liblimb/include/limb/hasher_sha3_224.h b/src/liblimb/include/limb/hasher_sha3_224.h index ca760b0..dbc595d 100644 --- a/src/liblimb/include/limb/hasher_sha3_224.h +++ b/src/liblimb/include/limb/hasher_sha3_224.h @@ -4,7 +4,7 @@ #ifndef LIMB_HASHER_SHA3_224_H #define LIMB_HASHER_SHA3_224_H -#include "limb/hasher.h" +#include <limb/hasher.h> extern struct hsha3_224 hasher_sha3_224; #define sha3_224 ((hasher *) (&hasher_sha3_224)) diff --git a/src/liblimb/include/limb/hasher_sha3_256.h b/src/liblimb/include/limb/hasher_sha3_256.h index 42ff58a..f6b4746 100644 --- a/src/liblimb/include/limb/hasher_sha3_256.h +++ b/src/liblimb/include/limb/hasher_sha3_256.h @@ -4,7 +4,7 @@ #ifndef LIMB_HASHER_SHA3_256_H #define LIMB_HASHER_SHA3_256_H -#include "limb/hasher.h" +#include <limb/hasher.h> extern struct hsha3_256 hasher_sha3_256; #define sha3_256 ((hasher *) (&hasher_sha3_256)) diff --git a/src/liblimb/include/limb/hasher_sha3_384.h b/src/liblimb/include/limb/hasher_sha3_384.h index 67604ac..354c3b7 100644 --- a/src/liblimb/include/limb/hasher_sha3_384.h +++ b/src/liblimb/include/limb/hasher_sha3_384.h @@ -4,7 +4,7 @@ #ifndef LIMB_HASHER_SHA3_384_H #define LIMB_HASHER_SHA3_384_H -#include "limb/hasher.h" +#include <limb/hasher.h> extern struct hsha3_384 hasher_sha3_384; #define sha3_384 ((hasher *) (&hasher_sha3_384)) diff --git a/src/liblimb/include/limb/hasher_sha3_512.h b/src/liblimb/include/limb/hasher_sha3_512.h index b55d762..ca25cca 100644 --- a/src/liblimb/include/limb/hasher_sha3_512.h +++ b/src/liblimb/include/limb/hasher_sha3_512.h @@ -4,7 +4,7 @@ #ifndef LIMB_HASHER_SHA3_512_H #define LIMB_HASHER_SHA3_512_H -#include "limb/hasher.h" +#include <limb/hasher.h> extern struct hsha3_512 hasher_sha3_512; #define sha3_512 ((hasher *) (&hasher_sha3_512)) diff --git a/src/liblimb/include/limb/hasher_sha512.h b/src/liblimb/include/limb/hasher_sha512.h index 184937a..e28c7c3 100644 --- a/src/liblimb/include/limb/hasher_sha512.h +++ b/src/liblimb/include/limb/hasher_sha512.h @@ -4,7 +4,7 @@ #ifndef LIMB_HASHER_SHA512_H #define LIMB_HASHER_SHA512_H -#include "limb/hasher.h" +#include <limb/hasher.h> extern struct hsha512 hasher_sha512; #define sha512 ((hasher *) (&hasher_sha512)) diff --git a/src/liblimb/include/limb/hlookup.h b/src/liblimb/include/limb/hlookup.h index 506e0e6..6fa36a9 100644 --- a/src/liblimb/include/limb/hlookup.h +++ b/src/liblimb/include/limb/hlookup.h @@ -5,7 +5,7 @@ #define LIMB_HLOOKUP_H #include <string.h> /* size_t */ -#include "limb/int.h" +#include <limb/int.h> extern void hlookup(u32 *main, u32 *second, const void *data, size_t dlen); extern u32 hlookup32(const void *data, size_t dlen); diff --git a/src/liblimb/include/limb/hmac.h b/src/liblimb/include/limb/hmac.h index 7f02ac1..6593d55 100644 --- a/src/liblimb/include/limb/hmac.h +++ b/src/liblimb/include/limb/hmac.h @@ -4,7 +4,7 @@ #ifndef LIMB_HMAC_H #define LIMB_HMAC_H -#include "limb/hasher.h" +#include <limb/hasher.h> extern void hmac(char *out, hasher *h, const void *key, size_t klen, const void *msg, size_t mlen); diff --git a/src/liblimb/include/limb/hmap.h b/src/liblimb/include/limb/hmap.h index f186091..cfa4239 100644 --- a/src/liblimb/include/limb/hmap.h +++ b/src/liblimb/include/limb/hmap.h @@ -5,7 +5,7 @@ #define LIMB_HMAP_H #include <skalibs/stralloc.h> -#include "limb/int.h" +#include <limb/int.h> typedef struct hmap hmap; diff --git a/src/liblimb/include/limb/loadopt.h b/src/liblimb/include/limb/loadopt.h index f2bbcee..67b139e 100644 --- a/src/liblimb/include/limb/loadopt.h +++ b/src/liblimb/include/limb/loadopt.h @@ -5,7 +5,7 @@ #define LIMB_LOADOPT_H #include <skalibs/stralloc.h> -#include "limb/parseopt.h" +#include <limb/parseopt.h> enum { /* private/internal */ diff --git a/src/liblimb/include/limb/obuffer.h b/src/liblimb/include/limb/obuffer.h index 828c88d..38c30d6 100644 --- a/src/liblimb/include/limb/obuffer.h +++ b/src/liblimb/include/limb/obuffer.h @@ -4,8 +4,8 @@ #ifndef LIMB_OBUFFER_H #define LIMB_OBUFFER_H -#include "limb/buffer.h" -#include "limb/int.h" +#include <limb/buffer.h> +#include <limb/int.h> enum olevel { OLVL_SILENT = 0, diff --git a/src/liblimb/include/limb/obuffers.h b/src/liblimb/include/limb/obuffers.h index 39786e4..8152dc8 100644 --- a/src/liblimb/include/limb/obuffers.h +++ b/src/liblimb/include/limb/obuffers.h @@ -4,7 +4,7 @@ #ifndef LIMB_OBUFFERS_H #define LIMB_OBUFFERS_H -#include "limb/obuffer.h" +#include <limb/obuffer.h> extern int obuffers_addextra(buffer *b, u8 level); extern int obuffers_remextra(buffer *b); diff --git a/src/liblimb/include/limb/output.h b/src/liblimb/include/limb/output.h index 05c73ea..6c43921 100644 --- a/src/liblimb/include/limb/output.h +++ b/src/liblimb/include/limb/output.h @@ -4,7 +4,7 @@ #ifndef LIMB_OUTPUT_H #define LIMB_OUTPUT_H -#include "limb/obuffers.h" +#include <limb/obuffers.h> extern const char *PROG; diff --git a/src/liblimb/include/limb/parseopt.h b/src/liblimb/include/limb/parseopt.h index ed26e87..9a6b6bb 100644 --- a/src/liblimb/include/limb/parseopt.h +++ b/src/liblimb/include/limb/parseopt.h @@ -4,7 +4,7 @@ #ifndef LIMB_PARSEOPT_H #define LIMB_PARSEOPT_H -#include "limb/int.h" +#include <limb/int.h> enum { ARG_NONE = 0, /* no argument */ diff --git a/src/liblimb/include/limb/saencdata.h b/src/liblimb/include/limb/saencdata.h index e0c0cae..383bc4a 100644 --- a/src/liblimb/include/limb/saencdata.h +++ b/src/liblimb/include/limb/saencdata.h @@ -5,7 +5,7 @@ #define LIMB_SAENCDATA_h #include <skalibs/stralloc.h> -#include "limb/int.h" +#include <limb/int.h> extern int saencdata(stralloc *sa, const u16 id, const void *val, const size_t size); diff --git a/src/liblimb/include/limb/sha3.h b/src/liblimb/include/limb/sha3.h index 5765f8f..2c0daea 100644 --- a/src/liblimb/include/limb/sha3.h +++ b/src/liblimb/include/limb/sha3.h @@ -5,7 +5,7 @@ #define LIMB_SHA3_H #include <stddef.h> /* size_t */ -#include "limb/int.h" +#include <limb/int.h> #define sha3_max_permutation_size 25 #define sha3_max_rate_in_qwords 24 diff --git a/src/liblimb/include/limb/u16.h b/src/liblimb/include/limb/u16.h index 200841b..c1f9d44 100644 --- a/src/liblimb/include/limb/u16.h +++ b/src/liblimb/include/limb/u16.h @@ -5,8 +5,8 @@ #define LIMB_U16_H #include <skalibs/uint16.h> -#include "limb/int.h" -#include "limb/u64.h" +#include <limb/int.h> +#include <limb/u64.h> #define u16_le(u) uint16_little(u) #define u16_be(u) uint16_big(u) diff --git a/src/liblimb/include/limb/u32.h b/src/liblimb/include/limb/u32.h index 5e1dc62..883fb2c 100644 --- a/src/liblimb/include/limb/u32.h +++ b/src/liblimb/include/limb/u32.h @@ -5,8 +5,8 @@ #define LIMB_U32_H #include <skalibs/uint32.h> -#include "limb/int.h" -#include "limb/u64.h" +#include <limb/int.h> +#include <limb/u64.h> #define u32_le(u) uint32_little(u) #define u32_be(u) uint32_big(u) diff --git a/src/liblimb/include/limb/u64.h b/src/liblimb/include/limb/u64.h index 5d0647c..b220c39 100644 --- a/src/liblimb/include/limb/u64.h +++ b/src/liblimb/include/limb/u64.h @@ -4,8 +4,8 @@ #ifndef LIMB_U64_H #define LIMB_U64_H -#include "limb/int.h" -#include "limb/uint64.h" +#include <limb/int.h> +#include <limb/uint64.h> #define u64_le(u) uint64_little(u) #define u64_be(u) uint64_big(u) diff --git a/src/liblimb/include/limb/uint64.h b/src/liblimb/include/limb/uint64.h index e550e76..77ae892 100644 --- a/src/liblimb/include/limb/uint64.h +++ b/src/liblimb/include/limb/uint64.h @@ -5,7 +5,7 @@ #define LIMB_UINT64_H #include <skalibs/uint64.h> -#include "limb/int.h" +#include <limb/int.h> extern int msb64(uint64_t val); diff --git a/src/liblimb/loadopt.h/loadopt.c b/src/liblimb/loadopt.h/loadopt.c index eb928c6..f3b0505 100644 --- a/src/liblimb/loadopt.h/loadopt.c +++ b/src/liblimb/loadopt.h/loadopt.c @@ -2,10 +2,10 @@ * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ #include <ctype.h> -#include "limb/bytestr.h" -#include "limb/djbunix.h" -#include "limb/loadopt.h" -#include "limb/output.h" +#include <limb/bytestr.h> +#include <limb/djbunix.h> +#include <limb/loadopt.h> +#include <limb/output.h> #include "loadopt.h" void diff --git a/src/liblimb/loadopt.h/loadopt_handle_noconfig.c b/src/liblimb/loadopt.h/loadopt_handle_noconfig.c index 1585dad..626d3a7 100644 --- a/src/liblimb/loadopt.h/loadopt_handle_noconfig.c +++ b/src/liblimb/loadopt.h/loadopt_handle_noconfig.c @@ -1,5 +1,8 @@ -#include "limb/loadopt.h" -#include "limb/output.h" +/* This file is part of limb https://lila.oss/limb + * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ +/* SPDX-License-Identifier: GPL-2.0-only */ +#include <limb/loadopt.h> +#include <limb/output.h> #include "loadopt.h" int diff --git a/src/liblimb/nextsplit.h/nextsplit_ae.c b/src/liblimb/nextsplit.h/nextsplit_ae.c index de071bb..ea5c3f8 100644 --- a/src/liblimb/nextsplit.h/nextsplit_ae.c +++ b/src/liblimb/nextsplit.h/nextsplit_ae.c @@ -2,8 +2,8 @@ * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ #include <endian.h> -#include "limb/nextsplit.h" -#include "limb/int.h" +#include <limb/nextsplit.h> +#include <limb/int.h> /* Author: Yucheng Zhang * For more see paper: AE: An Asymmetric Extremum Content Defined Chunking diff --git a/src/liblimb/nextsplit.h/nextsplit_buz.c b/src/liblimb/nextsplit.h/nextsplit_buz.c index 3916044..ba7ecd8 100644 --- a/src/liblimb/nextsplit.h/nextsplit_buz.c +++ b/src/liblimb/nextsplit.h/nextsplit_buz.c @@ -32,8 +32,8 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include "limb/nextsplit.h" -#include "limb/uint64.h" +#include <limb/nextsplit.h> +#include <limb/uint64.h> size_t nextsplit_buz(size_t min, size_t avg, const void *data, size_t dlen) diff --git a/src/liblimb/nextsplit.h/nextsplit_rabin.c b/src/liblimb/nextsplit.h/nextsplit_rabin.c index 2926534..9dde5c7 100644 --- a/src/liblimb/nextsplit.h/nextsplit_rabin.c +++ b/src/liblimb/nextsplit.h/nextsplit_rabin.c @@ -1,9 +1,9 @@ /* This file is part of limb https://lila.oss/limb * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ -#include "limb/nextsplit.h" -#include "limb/uint64.h" -#include "limb/rabin-tables.h" +#include <limb/nextsplit.h> +#include <limb/uint64.h> +#include <limb/rabin-tables.h> /* This is based on rabin fingerprint, using a miw of two different variants : * - for avg < 128 KiB the double-mask variant, which uses a large mask when avg diff --git a/src/liblimb/obuffer.h/obuffer_put.c b/src/liblimb/obuffer.h/obuffer_put.c index 1595da4..41e922d 100644 --- a/src/liblimb/obuffer.h/obuffer_put.c +++ b/src/liblimb/obuffer.h/obuffer_put.c @@ -1,7 +1,7 @@ /* This file is part of limb https://lila.oss/limb * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ -#include "limb/obuffer.h" +#include <limb/obuffer.h> ssize_t obuffer_put(obuffer *obuf, u8 level, const char *s, size_t len) diff --git a/src/liblimb/obuffer.h/obuffer_putmsg.c b/src/liblimb/obuffer.h/obuffer_putmsg.c index b56d898..8c6351e 100644 --- a/src/liblimb/obuffer.h/obuffer_putmsg.c +++ b/src/liblimb/obuffer.h/obuffer_putmsg.c @@ -1,7 +1,7 @@ /* This file is part of limb https://lila.oss/limb * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ -#include "limb/obuffer.h" +#include <limb/obuffer.h> void obuffer_putmsg(obuffer *obuf, u8 level, const char * const *as, unsigned int n) diff --git a/src/liblimb/obuffer.h/obuffers_putmsg.c b/src/liblimb/obuffer.h/obuffers_putmsg.c index f47f514..6e1f630 100644 --- a/src/liblimb/obuffer.h/obuffers_putmsg.c +++ b/src/liblimb/obuffer.h/obuffers_putmsg.c @@ -1,7 +1,7 @@ /* This file is part of limb https://lila.oss/limb * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ -#include "limb/obuffer.h" +#include <limb/obuffer.h> void obuffers_putmsg(obuffer *obufs, unsigned int nbufs, u8 level, diff --git a/src/liblimb/obuffers.h/dbg_putmsg.c b/src/liblimb/obuffers.h/dbg_putmsg.c index 805ac39..75c27c6 100644 --- a/src/liblimb/obuffers.h/dbg_putmsg.c +++ b/src/liblimb/obuffers.h/dbg_putmsg.c @@ -1,7 +1,7 @@ /* This file is part of limb https://lila.oss/limb * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ -#include "limb/output.h" +#include <limb/output.h> void dbg_putmsg(u8 level, const char *func, const char *file, int line, diff --git a/src/liblimb/obuffers.h/err_putmsg.c b/src/liblimb/obuffers.h/err_putmsg.c index 680e82e..f0f091b 100644 --- a/src/liblimb/obuffers.h/err_putmsg.c +++ b/src/liblimb/obuffers.h/err_putmsg.c @@ -1,7 +1,7 @@ /* This file is part of limb https://lila.oss/limb * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ -#include "limb/obuffers.h" +#include <limb/obuffers.h> obuffer obuffer_2_ = { buffer_2, OLVL_NORMAL }; diff --git a/src/liblimb/obuffers.h/err_putmsgdie.c b/src/liblimb/obuffers.h/err_putmsgdie.c index 108de86..dfe6af4 100644 --- a/src/liblimb/obuffers.h/err_putmsgdie.c +++ b/src/liblimb/obuffers.h/err_putmsgdie.c @@ -2,7 +2,7 @@ * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ #include <unistd.h> -#include "limb/obuffers.h" +#include <limb/obuffers.h> void err_putmsgdie(int exit, u8 level, const char * const *as, unsigned int n) diff --git a/src/liblimb/obuffers.h/extras_putmsg.c b/src/liblimb/obuffers.h/extras_putmsg.c index 2a64d40..c865c7c 100644 --- a/src/liblimb/obuffers.h/extras_putmsg.c +++ b/src/liblimb/obuffers.h/extras_putmsg.c @@ -1,7 +1,7 @@ /* This file is part of limb https://lila.oss/limb * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ -#include "limb/obuffers.h" +#include <limb/obuffers.h> obuffer obuffer_extras[3] = { 0 }; diff --git a/src/liblimb/obuffers.h/obuffers_adddbg.c b/src/liblimb/obuffers.h/obuffers_adddbg.c index 6a16f38..6d2a65f 100644 --- a/src/liblimb/obuffers.h/obuffers_adddbg.c +++ b/src/liblimb/obuffers.h/obuffers_adddbg.c @@ -2,7 +2,7 @@ * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ #include <errno.h> -#include "limb/obuffers.h" +#include <limb/obuffers.h> static char buf[BUFFER_OUTSIZE]; buffer buffer_dbg_ = { .fd = -1 }; diff --git a/src/liblimb/obuffers.h/obuffers_addextra.c b/src/liblimb/obuffers.h/obuffers_addextra.c index 32357ba..04972ba 100644 --- a/src/liblimb/obuffers.h/obuffers_addextra.c +++ b/src/liblimb/obuffers.h/obuffers_addextra.c @@ -2,7 +2,7 @@ * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ #include <errno.h> -#include "limb/obuffers.h" +#include <limb/obuffers.h> int obuffers_addextra(buffer *b, u8 level) diff --git a/src/liblimb/obuffers.h/obuffers_addlog.c b/src/liblimb/obuffers.h/obuffers_addlog.c index 28491e2..9e556dc 100644 --- a/src/liblimb/obuffers.h/obuffers_addlog.c +++ b/src/liblimb/obuffers.h/obuffers_addlog.c @@ -2,7 +2,7 @@ * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ #include <errno.h> -#include "limb/obuffers.h" +#include <limb/obuffers.h> static char buf[BUFFER_OUTSIZE]; buffer buffer_log_ = { .fd = -1 }; diff --git a/src/liblimb/obuffers.h/obuffers_remdbg.c b/src/liblimb/obuffers.h/obuffers_remdbg.c index 9764da0..269a9d1 100644 --- a/src/liblimb/obuffers.h/obuffers_remdbg.c +++ b/src/liblimb/obuffers.h/obuffers_remdbg.c @@ -1,7 +1,7 @@ /* This file is part of limb https://lila.oss/limb * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ -#include "limb/obuffers.h" +#include <limb/obuffers.h> extern buffer buffer_dbg_; diff --git a/src/liblimb/obuffers.h/obuffers_remextra.c b/src/liblimb/obuffers.h/obuffers_remextra.c index b1e60b6..b7a31a7 100644 --- a/src/liblimb/obuffers.h/obuffers_remextra.c +++ b/src/liblimb/obuffers.h/obuffers_remextra.c @@ -2,7 +2,7 @@ * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ #include <errno.h> -#include "limb/obuffers.h" +#include <limb/obuffers.h> int obuffers_remextra(buffer *b) diff --git a/src/liblimb/obuffers.h/obuffers_remlog.c b/src/liblimb/obuffers.h/obuffers_remlog.c index 2f327fc..4c0cf2a 100644 --- a/src/liblimb/obuffers.h/obuffers_remlog.c +++ b/src/liblimb/obuffers.h/obuffers_remlog.c @@ -1,7 +1,7 @@ /* This file is part of limb https://lila.oss/limb * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ -#include "limb/obuffers.h" +#include <limb/obuffers.h> extern buffer buffer_log_; diff --git a/src/liblimb/obuffers.h/out_putmsg.c b/src/liblimb/obuffers.h/out_putmsg.c index 54db980..f75d4e0 100644 --- a/src/liblimb/obuffers.h/out_putmsg.c +++ b/src/liblimb/obuffers.h/out_putmsg.c @@ -1,7 +1,7 @@ /* This file is part of limb https://lila.oss/limb * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ -#include "limb/obuffers.h" +#include <limb/obuffers.h> obuffer obuffer_1_ = { buffer_1, OLVL_NORMAL }; diff --git a/src/liblimb/obuffers.h/out_putmsgdie.c b/src/liblimb/obuffers.h/out_putmsgdie.c index 0927526..109bdf3 100644 --- a/src/liblimb/obuffers.h/out_putmsgdie.c +++ b/src/liblimb/obuffers.h/out_putmsgdie.c @@ -2,7 +2,7 @@ * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ #include <unistd.h> -#include "limb/obuffers.h" +#include <limb/obuffers.h> void out_putmsgdie(int exit, u8 level, const char * const *as, unsigned int n) diff --git a/src/liblimb/parseopt.h/parseopt.c b/src/liblimb/parseopt.h/parseopt.c index 08fbb5c..8f0bb61 100644 --- a/src/liblimb/parseopt.h/parseopt.c +++ b/src/liblimb/parseopt.h/parseopt.c @@ -2,8 +2,8 @@ * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ #include <stddef.h> /* offsetof() */ -#include "limb/bytestr.h" -#include "limb/parseopt.h" +#include <limb/bytestr.h> +#include <limb/parseopt.h> int parseopt(int *first, int argc, const char **argv, const struct option *options, diff --git a/src/liblimb/saencdata.h/saencdata.c b/src/liblimb/saencdata.h/saencdata.c index a5634bc..243048c 100644 --- a/src/liblimb/saencdata.h/saencdata.c +++ b/src/liblimb/saencdata.h/saencdata.c @@ -1,9 +1,9 @@ /* This file is part of limb https://lila.oss/limb * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ -#include "limb/saencdata.h" -#include "limb/u16.h" -#include "limb/u64.h" +#include <limb/saencdata.h> +#include <limb/u16.h> +#include <limb/u64.h> int saencdata(stralloc *sa, const u16 id, const void *val, const size_t size) diff --git a/src/liblimb/samisc.h/sacoloff.c b/src/liblimb/samisc.h/sacoloff.c index 987d17a..3fb7dfa 100644 --- a/src/liblimb/samisc.h/sacoloff.c +++ b/src/liblimb/samisc.h/sacoloff.c @@ -2,7 +2,7 @@ * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ #include <stdint.h> /* uintptr_t */ -#include "limb/samisc.h" +#include <limb/samisc.h> int sacoloff(stralloc *sa, size_t from, size_t end) diff --git a/src/liblimb/samisc.h/sacolptr.c b/src/liblimb/samisc.h/sacolptr.c index 542f0bd..446aa0d 100644 --- a/src/liblimb/samisc.h/sacolptr.c +++ b/src/liblimb/samisc.h/sacolptr.c @@ -1,7 +1,7 @@ /* This file is part of limb https://lila.oss/limb * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ -#include "limb/samisc.h" +#include <limb/samisc.h> int sacolptr(stralloc *sa, size_t from, size_t end) diff --git a/src/liblimb/samisc.h/saoff2ptr.c b/src/liblimb/samisc.h/saoff2ptr.c index 08692f3..1d0e1d0 100644 --- a/src/liblimb/samisc.h/saoff2ptr.c +++ b/src/liblimb/samisc.h/saoff2ptr.c @@ -2,7 +2,7 @@ * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ #include <stdint.h> /* uintptr_t */ -#include "limb/samisc.h" +#include <limb/samisc.h> void saoff2ptr(stralloc *sa, size_t arroff, size_t n) diff --git a/src/liblimb/siovec.h/siovec_gather0.c b/src/liblimb/siovec.h/siovec_gather0.c index 4cccdc0..dc47cf4 100644 --- a/src/liblimb/siovec.h/siovec_gather0.c +++ b/src/liblimb/siovec.h/siovec_gather0.c @@ -1,7 +1,7 @@ /* This file is part of limb https://lila.oss/limb * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ -#include "limb/siovec.h" +#include <limb/siovec.h> size_t siovec_gather0(const struct iovec *v, unsigned int n, char *s, size_t max) diff --git a/src/liblimb/siovec.h/siovec_memcmp.c b/src/liblimb/siovec.h/siovec_memcmp.c index 15646c2..03512a2 100644 --- a/src/liblimb/siovec.h/siovec_memcmp.c +++ b/src/liblimb/siovec.h/siovec_memcmp.c @@ -2,7 +2,7 @@ * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ #include <string.h> -#include "limb/siovec.h" +#include <limb/siovec.h> int siovec_memcmp(const struct iovec *v, unsigned int n, const char *s, size_t len) diff --git a/src/liblimb/siovec.h/siovec_off.c b/src/liblimb/siovec.h/siovec_off.c index b94fed4..f829392 100644 --- a/src/liblimb/siovec.h/siovec_off.c +++ b/src/liblimb/siovec.h/siovec_off.c @@ -2,7 +2,7 @@ * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ #include <errno.h> -#include "limb/siovec.h" +#include <limb/siovec.h> int siovec_off(const struct iovec *v, unsigned int n, size_t off) diff --git a/src/liblimb/siovec.h/siovec_seek_bytechr.c b/src/liblimb/siovec.h/siovec_seek_bytechr.c index 8ca41ba..a81304b 100644 --- a/src/liblimb/siovec.h/siovec_seek_bytechr.c +++ b/src/liblimb/siovec.h/siovec_seek_bytechr.c @@ -1,7 +1,7 @@ /* This file is part of limb https://lila.oss/limb * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ -#include "limb/siovec.h" +#include <limb/siovec.h> size_t siovec_seek_bytechr(const struct iovec *v, unsigned int n, size_t offset, char c) diff --git a/src/liblimb/siovec.h/siovec_seek_bytein.c b/src/liblimb/siovec.h/siovec_seek_bytein.c index 9ee7027..ad64b48 100644 --- a/src/liblimb/siovec.h/siovec_seek_bytein.c +++ b/src/liblimb/siovec.h/siovec_seek_bytein.c @@ -1,7 +1,7 @@ /* This file is part of limb https://lila.oss/limb * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ -#include "limb/siovec.h" +#include <limb/siovec.h> size_t siovec_seek_bytein(const struct iovec *v, unsigned int n, size_t offset, diff --git a/src/liblimb/siovec.h/siovec_seek_gather.c b/src/liblimb/siovec.h/siovec_seek_gather.c index e13a6f9..f51703a 100644 --- a/src/liblimb/siovec.h/siovec_seek_gather.c +++ b/src/liblimb/siovec.h/siovec_seek_gather.c @@ -1,7 +1,7 @@ /* This file is part of limb https://lila.oss/limb * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ -#include "limb/siovec.h" +#include <limb/siovec.h> size_t siovec_seek_gather(const struct iovec *v, unsigned int n, size_t offset, char *s, size_t max) diff --git a/src/liblimb/siovec.h/siovec_seek_gather0.c b/src/liblimb/siovec.h/siovec_seek_gather0.c index 69dc707..970cca4 100644 --- a/src/liblimb/siovec.h/siovec_seek_gather0.c +++ b/src/liblimb/siovec.h/siovec_seek_gather0.c @@ -1,7 +1,7 @@ /* This file is part of limb https://lila.oss/limb * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ -#include "limb/siovec.h" +#include <limb/siovec.h> size_t siovec_seek_gather0(const struct iovec *v, unsigned int n, size_t offset, char *s, size_t max) diff --git a/src/liblimb/u640_fmt_generic.c b/src/liblimb/u640_fmt_generic.c index d45285f..e07fdd9 100644 --- a/src/liblimb/u640_fmt_generic.c +++ b/src/liblimb/u640_fmt_generic.c @@ -2,7 +2,7 @@ * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ #include <string.h> -#include "limb/u64.h" +#include <limb/u64.h> size_t u640_fmt_generic(char *s, u64 u, u8 base, size_t min, const char fill, diff --git a/src/liblimb/u64_fmt_generic.c b/src/liblimb/u64_fmt_generic.c index d044406..9699106 100644 --- a/src/liblimb/u64_fmt_generic.c +++ b/src/liblimb/u64_fmt_generic.c @@ -2,7 +2,7 @@ * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ #include <skalibs/fmtscan.h> -#include "limb/u64.h" +#include <limb/u64.h> size_t u64_fmt_generic(char *s, u64 u, u8 base, u8 grp, const char sep) diff --git a/src/liblimb/uint64.h/msb64.c b/src/liblimb/uint64.h/msb64.c index c87611c..01456f2 100644 --- a/src/liblimb/uint64.h/msb64.c +++ b/src/liblimb/uint64.h/msb64.c @@ -2,7 +2,7 @@ * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ #include <skalibs/sysdeps.h> -#include "limb/int.h" +#include <limb/int.h> /* For talks/tests and even graphs regarding those implementations and their * performances: diff --git a/src/liblimb/uint64.h/uint64_pack_trim.c b/src/liblimb/uint64.h/uint64_pack_trim.c index 7b776a4..995187e 100644 --- a/src/liblimb/uint64.h/uint64_pack_trim.c +++ b/src/liblimb/uint64.h/uint64_pack_trim.c @@ -2,7 +2,7 @@ * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ #include <skalibs/uint64.h> -#include "limb/uint64.h" +#include <limb/uint64.h> int uint64_pack_trim(char *dst_, uint64_t val) diff --git a/src/liblimb/uint64.h/uint64_unpack_trim.c b/src/liblimb/uint64.h/uint64_unpack_trim.c index 2881f38..a7bd314 100644 --- a/src/liblimb/uint64.h/uint64_unpack_trim.c +++ b/src/liblimb/uint64.h/uint64_unpack_trim.c @@ -1,7 +1,7 @@ /* This file is part of limb https://lila.oss/limb * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ -#include "limb/uint64.h" +#include <limb/uint64.h> int uint64_unpack_trim(const char *sce_, uint64_t *val) diff --git a/src/liblimb/unix-transactional.h/open_createat.c b/src/liblimb/unix-transactional.h/open_createat.c index 1db02dd..dbcc4ab 100644 --- a/src/liblimb/unix-transactional.h/open_createat.c +++ b/src/liblimb/unix-transactional.h/open_createat.c @@ -3,7 +3,7 @@ /* SPDX-License-Identifier: GPL-2.0-only */ #include <fcntl.h> #include <skalibs/unix-transactional.h> -#include "limb/unix-transactional.h" +#include <limb/unix-transactional.h> int open_createat(int fd, const char *file) diff --git a/src/liblimb/unix-transactional.h/open_exclat.c b/src/liblimb/unix-transactional.h/open_exclat.c index 1edef20..adf45d4 100644 --- a/src/liblimb/unix-transactional.h/open_exclat.c +++ b/src/liblimb/unix-transactional.h/open_exclat.c @@ -3,7 +3,7 @@ /* SPDX-License-Identifier: GPL-2.0-only */ #include <fcntl.h> #include <skalibs/unix-transactional.h> -#include "limb/unix-transactional.h" +#include <limb/unix-transactional.h> int open_exclat(int fd, const char *file) diff --git a/src/liblimb/unix-transactional.h/openc_createat.c b/src/liblimb/unix-transactional.h/openc_createat.c index 66adb96..de198cd 100644 --- a/src/liblimb/unix-transactional.h/openc_createat.c +++ b/src/liblimb/unix-transactional.h/openc_createat.c @@ -3,7 +3,7 @@ /* SPDX-License-Identifier: GPL-2.0-only */ #include <fcntl.h> #include <skalibs/unix-transactional.h> -#include "limb/unix-transactional.h" +#include <limb/unix-transactional.h> int openc_createat(int fd, const char *file) diff --git a/src/liblimb/unix-transactional.h/openc_exclat.c b/src/liblimb/unix-transactional.h/openc_exclat.c index 9c9d51f..925dca3 100644 --- a/src/liblimb/unix-transactional.h/openc_exclat.c +++ b/src/liblimb/unix-transactional.h/openc_exclat.c @@ -3,7 +3,7 @@ /* SPDX-License-Identifier: GPL-2.0-only */ #include <fcntl.h> #include <skalibs/unix-transactional.h> -#include "limb/unix-transactional.h" +#include <limb/unix-transactional.h> int openc_exclat(int fd, const char *file) diff --git a/src/mkrabintables/mkrabintables.c b/src/mkrabintables/mkrabintables.c index f0b2495..8820a55 100644 --- a/src/mkrabintables/mkrabintables.c +++ b/src/mkrabintables/mkrabintables.c @@ -2,8 +2,8 @@ * Copyright (C) 2023 Olivier Brunel jjk@jjacky.com */ /* SPDX-License-Identifier: GPL-2.0-only */ #include <skalibs/uint16.h> -#include "limb/uint64.h" -#include "limb/output.h" +#include <limb/uint64.h> +#include <limb/output.h> const char *PROG = "mkrabintables"; @@ -94,7 +94,7 @@ main(int argc, char **argv) printf( "#ifndef LIMB_RABIN_TABLES_H\n" "#define LIMB_RABIN_TABLES_H\n" "\n" - "#include \"limb/int.h\"\n" + "#include <limb/int.h>\n" "\n" "#define RABIN_WINDOW_SIZE %u\n" "\n"