diff options
author | Tomohiro Kusumi <tkusumi@tuxera.com> | 2017-04-15 00:06:20 +0300 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-04-26 12:43:10 -0600 |
commit | 2c48ab2efb7397b933d5b7e552da8c8245744c10 (patch) | |
tree | 55696d9500562ff2857f83e4735ec01569d40a1c /lib/pattern.c | |
parent | 1c9f076109b15af6e03f92d9b80034d034d5b6cd (diff) | |
download | fio-2c48ab2efb7397b933d5b7e552da8c8245744c10.tar.gz fio-2c48ab2efb7397b933d5b7e552da8c8245744c10.tar.bz2 |
Make lib/strntol.c a stand-alone library
It needs to include strntol.h from local directory where strntol.c
is also located, to be able to use this as a stand-alone library,
which is useful for debugging purpose. In fact, most of the files
under lib/ directory do things this way.
--
# cat ./test5.c
#include <stdio.h>
#include "lib/strntol.h"
int main(void) {
/* just to see if it compiles */
strntol(NULL, 0, NULL, 0);
return 0;
}
# gcc -Wall -g ./test5.c ./lib/strntol.c
Signed-off-by: Tomohiro Kusumi <tkusumi@tuxera.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'lib/pattern.c')
0 files changed, 0 insertions, 0 deletions