From c7c6cb4cb3114ec4ce3107e15c184e161b50122e Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Thu, 13 Oct 2011 14:12:40 +0200 Subject: [PATCH] Move IEEE754 support code to lib/ It's not strictly core code. Signed-off-by: Jens Axboe --- Makefile | 4 ++-- iolog.h | 2 +- ieee754.c => lib/ieee754.c | 0 ieee754.h => lib/ieee754.h | 0 server.c | 2 +- stat.c | 2 +- 6 files changed, 5 insertions(+), 5 deletions(-) rename ieee754.c => lib/ieee754.c (100%) rename ieee754.h => lib/ieee754.h (100%) diff --git a/Makefile b/Makefile index 8b8898c9..6a3f85bc 100644 --- a/Makefile +++ b/Makefile @@ -12,9 +12,9 @@ UNAME := $(shell uname) SOURCE = gettime.c fio.c ioengines.c init.c stat.c log.c time.c filesetup.c \ eta.c verify.c memory.c io_u.c parse.c mutex.c options.c \ rbtree.c smalloc.c filehash.c profile.c debug.c lib/rand.c \ - lib/num2str.c $(wildcard crc/*.c) engines/cpu.c \ + lib/num2str.c lib/ieee754.c $(wildcard crc/*.c) engines/cpu.c \ engines/mmap.c engines/sync.c engines/null.c engines/net.c \ - memalign.c server.c client.c iolog.c ieee754.c + memalign.c server.c client.c iolog.c ifeq ($(UNAME), Linux) SOURCE += diskutil.c fifo.c blktrace.c helpers.c cgroup.c trim.c \ diff --git a/iolog.h b/iolog.h index a523d4d2..53bb66ca 100644 --- a/iolog.h +++ b/iolog.h @@ -1,7 +1,7 @@ #ifndef FIO_IOLOG_H #define FIO_IOLOG_H -#include "ieee754.h" +#include "lib/ieee754.h" /* * Use for maintaining statistics diff --git a/ieee754.c b/lib/ieee754.c similarity index 100% rename from ieee754.c rename to lib/ieee754.c diff --git a/ieee754.h b/lib/ieee754.h similarity index 100% rename from ieee754.h rename to lib/ieee754.h diff --git a/server.c b/server.c index 9cbe555f..e7a90572 100644 --- a/server.c +++ b/server.c @@ -20,7 +20,7 @@ #include "fio.h" #include "server.h" #include "crc/crc16.h" -#include "ieee754.h" +#include "lib/ieee754.h" #include "fio_version.h" diff --git a/stat.c b/stat.c index 558464f7..a053c8be 100644 --- a/stat.c +++ b/stat.c @@ -9,7 +9,7 @@ #include "fio.h" #include "diskutil.h" -#include "ieee754.h" +#include "lib/ieee754.h" void update_rusage_stat(struct thread_data *td) { -- 2.25.1