build-sys: Relocate lib/

test files in lib go to src/tests
include/ goes to local/
lib/*.c goes to local/

Signed-off-by: Craig Small <csmall@dropbear.xyz>
This commit is contained in:
Craig Small
2022-08-29 20:28:03 +10:00
parent dcce8038be
commit 47a8676625
31 changed files with 63 additions and 59 deletions

12
local/strutils.h Normal file
View File

@ -0,0 +1,12 @@
/*
* This header was copied from util-linux at fall 2011.
*/
#ifndef PROCPS_NG_STRUTILS
#define PROCPS_NG_STRUTILS
extern long strtol_or_err(const char *str, const char *errmesg);
extern double strtod_or_err(const char *str, const char *errmesg);
double strtod_nol_or_err(char *str, const char *errmesg);
#endif