@@ -1,5 +1,5 @@
-#ifndef __ADL_H__
-#define __ADL_H__
+#ifndef BFG_ADL_H
+#define BFG_ADL_H
#ifdef HAVE_ADL
#include <stdbool.h>
-#if !defined(__BENCH_BLOCK_H__)
- #define __BENCH_BLOCK_H__ 1
+#ifndef BFG_BENCH_BLOCK_H
+#define BFG_BENCH_BLOCK_H
// Random work pulled from a pool
#define CGMINER_BENCHMARK_BLOCK \
@@ -36,4 +36,4 @@
0x55, 0xF1, 0x44, 0x4E, 0x00, 0x00, 0x00, 0x00, 0x79, 0x63, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
-#endif // !defined(__BENCH_BLOCK_H__)
+#endif
@@ -7,8 +7,8 @@
* any later version. See COPYING for more details.
*/
-#ifndef __COMPAT_H__
-#define __COMPAT_H__
+#ifndef BFG_COMPAT_H
+#define BFG_COMPAT_H
#include "config.h"
-#ifndef __DEVICEAPI_H__
-#define __DEVICEAPI_H__
+#ifndef BFG_DEVICEAPI_H
+#define BFG_DEVICEAPI_H
#include <stdint.h>
@@ -10,8 +10,8 @@
-#ifndef __DEVICE_CPU_H__
-#define __DEVICE_CPU_H__
+#ifndef BFG_DRIVER_CPU_H
+#define BFG_DRIVER_CPU_H
#include "miner.h"
-#ifndef __DEVICE_GPU_H__
-#define __DEVICE_GPU_H__
+#ifndef BFG_DRIVER_OPENCL
+#define BFG_DRIVER_OPENCL
-#ifndef __FINDNONCE_H__
-#define __FINDNONCE_H__
+#ifndef BFG_FINDNONCE_H
+#define BFG_FINDNONCE_H
-#ifndef _BFG_HTTPSRV_H
-#define _BFG_HTTPSRV_H
+#ifndef BFG_HTTPSRV_H
+#define BFG_HTTPSRV_H
#include <microhttpd.h>
-#ifndef __LIBBITFURY_H__
-#define __LIBBITFURY_H__
+#ifndef BFG_LIBBITFURY_H
+#define BFG_LIBBITFURY_H
-#ifndef __LIBZTEX_H__
-#define __LIBZTEX_H__
+#ifndef BFG_LIBZTEX_H
+#define BFG_LIBZTEX_H
@@ -8,8 +8,8 @@
-#ifndef __LOGGING_H__
-#define __LOGGING_H__
+#ifndef BFG_LOGGING_H
+#define BFG_LOGGING_H
-#ifndef _BFG_LOWLEVEL_H
-#define _BFG_LOWLEVEL_H
+#ifndef BFG_LOWLEVEL_H
+#define BFG_LOWLEVEL_H
@@ -11,8 +11,8 @@
-#ifndef __MINER_H__
-#define __MINER_H__
+#ifndef BFG_MINER_H
+#define BFG_MINER_H
-#ifndef __OCL_H__
-#define __OCL_H__
+#ifndef BFG_OCL_H
+#define BFG_OCL_H
-#ifndef __UTIL_H__
-#define __UTIL_H__
+#ifndef BFG_UTIL_H
+#define BFG_UTIL_H