switched to absolute include dirs, formatting

This commit is contained in:
john30
2017-02-04 19:28:31 +01:00
parent cc21321ad8
commit bbc29bdb2f
48 changed files with 143 additions and 133 deletions
+2 -1
View File
@@ -1,4 +1,5 @@
AM_CXXFLAGS = -Wconversion
AM_CXXFLAGS = -I$(top_srcdir)/src \
-Wconversion
noinst_LIBRARIES = libutils.a
+1 -1
View File
@@ -16,7 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "clock.h"
#include "lib/utils/clock.h"
#ifdef __MACH__
# include <mach/clock.h>
# include <mach/mach.h>
+2 -2
View File
@@ -16,14 +16,14 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "log.h"
#include "lib/utils/log.h"
#include <stdlib.h>
#include <stdio.h>
#include <time.h>
#include <sys/time.h>
#include <stdarg.h>
#include <string.h>
#include "clock.h"
#include "lib/utils/clock.h"
/** the name of each @a LogFacility. */
static const char *facilityNames[] = {
+1 -1
View File
@@ -22,7 +22,7 @@
#include <pthread.h>
#include <errno.h>
#include <list>
#include "clock.h"
#include "lib/utils/clock.h"
/** \file queue.h */
+2 -2
View File
@@ -16,7 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "rotatefile.h"
#include "lib/utils/rotatefile.h"
#include <sys/ioctl.h>
#include <sys/file.h>
#include <fcntl.h>
@@ -25,7 +25,7 @@
#include <cstring>
#include <fstream>
#include <string>
#include "clock.h"
#include "lib/utils/clock.h"
using std::streamsize;
+1 -1
View File
@@ -16,7 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "tcpsocket.h"
#include "lib/utils/tcpsocket.h"
#include <fcntl.h>
#include <arpa/inet.h>
#include <netdb.h>
+2 -2
View File
@@ -20,8 +20,8 @@
# include <config.h>
#endif
#include "thread.h"
#include "clock.h"
#include "lib/utils/thread.h"
#include "lib/utils/clock.h"
void* Thread::runThread(void* arg) {
reinterpret_cast<Thread*>(arg)->enter();