Commit d9b5e349 authored by David Redondo's avatar David Redondo 🏎
Browse files

Do not include inside a namespace

This puts the functions declared in these headers inside the namespace
parent 1c3e6915
......@@ -21,6 +21,11 @@
#include "SensorProperty.h"
#ifdef Q_OS_FREEBSD
#include <sys/types.h>
#include <sys/sysctl.h>
#endif
namespace KSysGuard
{
......@@ -58,8 +63,6 @@ private:
};
#ifdef Q_OS_FREEBSD
#include <sys/types.h>
#include <sys/sysctl.h>
template <typename T>
SysctlSensor<T>::SysctlSensor(const QString& id, const QByteArray &sysctlName, SensorObject* parent)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment