There is no need to have this macro in the header file. It's used
in one place after all.
Signed-off-by: Michal Privoznik <mprivozn(a)redhat.com>
---
src/libvirt-php.c | 3 +++
src/libvirt-php.h | 3 ---
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/libvirt-php.c b/src/libvirt-php.c
index 693f911..951375f 100644
--- a/src/libvirt-php.c
+++ b/src/libvirt-php.c
@@ -1097,6 +1097,9 @@ int has_builtin(char *name)
return 0;
}
+/* Maximum size (in KiB) of log file when DEBUG_SUPPORT is enabled */
+#define DEFAULT_LOG_MAXSIZE 1024
+
/* Information function for phpinfo() */
PHP_MINFO_FUNCTION(libvirt)
{
diff --git a/src/libvirt-php.h b/src/libvirt-php.h
index a429ed8..0cd160f 100644
--- a/src/libvirt-php.h
+++ b/src/libvirt-php.h
@@ -29,9 +29,6 @@
/* Maximum number of authentication attempts */
#define VNC_MAX_AUTH_ATTEMPTS 10
-/* Maximum size (in KiB) of log file when DEBUG_SUPPORT is enabled */
-#define DEFAULT_LOG_MAXSIZE 1024
-
/* Network constants */
#define VIR_NETWORKS_ACTIVE 1
#define VIR_NETWORKS_INACTIVE 2
--
2.8.4