Fix non-opencl build.
diff --git a/main.c b/main.c
index 23dfbb6..eda639b 100644
--- a/main.c
+++ b/main.c
@@ -3409,6 +3409,10 @@ static void *reinit_gpu(void *userdata)
return NULL;
}
+#else
+static void *reinit_gpu(void *userdata)
+{
+}
#endif
static void reinit_device(struct cgpu_info *cgpu)