From acc808f66741b670227a191df77f619b89b229a9 Mon Sep 17 00:00:00 2001 From: Philipp Schafft Date: Wed, 21 Aug 2019 06:35:27 +0000 Subject: [PATCH] Update: Shuffled around timing.c --- Makefile.am | 8 ++++---- {timing => src}/timing.c | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) rename {timing => src}/timing.c (96%) diff --git a/Makefile.am b/Makefile.am index fa82b24..ad466aa 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2,7 +2,7 @@ ACLOCAL_AMFLAGS = -I m4 -SUBDIRS = avl httpp log net thread timing +SUBDIRS = avl httpp log net thread lib_LTLIBRARIES = libigloo.la @@ -42,14 +42,14 @@ libigloo_la_SOURCES = \ src/logmsg.c \ src/buffer.c \ src/list.c \ - src/reportxml.c + src/reportxml.c \ + src/timing.c libigloo_la_LIBADD = \ avl/libiceavl.la \ httpp/libicehttpp.la \ log/libicelog.la \ net/libicenet.la \ - thread/libicethread.la \ - timing/libicetiming.la + thread/libicethread.la pkgconfig_DATA = igloo.pc diff --git a/timing/timing.c b/src/timing.c similarity index 96% rename from timing/timing.c rename to src/timing.c index 95b3f91..a4647bf 100644 --- a/timing/timing.c +++ b/src/timing.c @@ -7,7 +7,7 @@ * Jack Moffitt , * Ed "oddsock" Zaleski , * Ralph Giles , - * Copyright (C) 2012-2018 Philipp "ph3-der-loewe" Schafft + * Copyright (C) 2012-2019 Philipp "ph3-der-loewe" Schafft * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public @@ -96,7 +96,7 @@ void igloo_timing_sleep(uint64_t sleeptime) * value. If you think differerntly, please provide references. */ #ifdef WIN32 - Sleep(sleeptime); + Sleep(sleeptime); #else select(1, NULL, NULL, NULL, &sleeper); #endif