From 4de33883ab9001232eda68dcfed420e40d61bad7 Mon Sep 17 00:00:00 2001
From: Petr Baudis <pasky@ucw.cz>
Date: Fri, 16 Mar 2012 01:13:03 +0100
Subject: [PATCH] common.h: Convert some unnecessary variables to macros

---
 common.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/common.h b/common.h
index a00b36f..69d2047 100644
--- a/common.h
+++ b/common.h
@@ -11,9 +11,9 @@
  * has reserved less than minfree (in case of too little memory,
  * user takes precedence) and user does not have reserved more
  * than maxfree. */
-size_t static_minfree = 512*1048576UL;
-size_t static_maxfree = 2048*1048576UL;
-double split_ratio = 0.5;
+#define static_minfree (512*1048576UL)
+#define static_maxfree (2048*1048576UL)
+#define split_ratio 0.5
 
 /* Default nice value for processes started using compctl --run. */
 #define COMPNICE 12
-- 
GitLab