aboutsummaryrefslogtreecommitdiff
path: root/tools/gator/daemon/Logging.h
diff options
context:
space:
mode:
authorJon Medhurst <tixy@linaro.org>2014-04-10 09:02:02 +0100
committerJon Medhurst <tixy@linaro.org>2014-04-10 12:11:17 +0100
commit15ce78dafc08b1c5c3ec8f42070ae37160b5154c (patch)
treecdb25c6758ac3fe5ac6f9e151642a4779e2fc742 /tools/gator/daemon/Logging.h
parent34d9769988397a1edf93ad1966c167591ab29e79 (diff)
gator: Version 5.18
Signed-off-by: Jon Medhurst <tixy@linaro.org>
Diffstat (limited to 'tools/gator/daemon/Logging.h')
-rw-r--r--tools/gator/daemon/Logging.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/tools/gator/daemon/Logging.h b/tools/gator/daemon/Logging.h
index 8f960de27bf..6ae32804698 100644
--- a/tools/gator/daemon/Logging.h
+++ b/tools/gator/daemon/Logging.h
@@ -1,5 +1,5 @@
/**
- * Copyright (C) ARM Limited 2010-2013. All rights reserved.
+ * Copyright (C) ARM Limited 2010-2014. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
@@ -9,14 +9,7 @@
#ifndef __LOGGING_H__
#define __LOGGING_H__
-#include <stdio.h>
-#include <string.h>
-#include <limits.h>
-#ifdef WIN32
-#include <windows.h>
-#else
#include <pthread.h>
-#endif
#define DRIVER_ERROR "\n Driver issue:\n >> gator.ko must be built against the current kernel version & configuration\n >> gator.ko should be co-located with gatord in the same directory\n >> OR insmod gator.ko prior to launching gatord"
@@ -33,11 +26,7 @@ private:
char mErrBuf[4096]; // Arbitrarily large buffer to hold a string
char mLogBuf[4096]; // Arbitrarily large buffer to hold a string
bool mDebug;
-#ifdef WIN32
- HANDLE mLoggingMutex;
-#else
pthread_mutex_t mLoggingMutex;
-#endif
};
extern Logging* logg;