just change the position of define
authorjy910.yun <jy910.yun@samsung.com>
Sun, 30 Jun 2013 10:34:39 +0000 (19:34 +0900)
committerjy910.yun <jy910.yun@samsung.com>
Sun, 30 Jun 2013 10:34:39 +0000 (19:34 +0900)
Signed-off-by: jy910.yun <jy910.yun@samsung.com>
src/proc/proc-handler.c
src/proc/proc-handler.h

index 79ac6f1..8512137 100644 (file)
 #include "core/log.h"
 #include "core/common.h"
 #include "core/devices.h"
-
-#define OOMADJ_SU                       (-17)
-#define OOMADJ_INIT                     (-16)
-#define OOMADJ_FOREGRD_LOCKED           (-15)
-#define OOMADJ_FOREGRD_UNLOCKED         (-10)
-#define OOMADJ_BACKGRD_LOCKED           (-5)
-#define OOMADJ_BACKGRD_UNLOCKED         (1)
-
-#define OOMADJ_APP_LIMIT               (-16)
+#include "proc-handler.h"
 
 #define LIMITED_BACKGRD_NUM 15
 #define MAX_BACKGRD_OOMADJ (OOMADJ_BACKGRD_UNLOCKED + LIMITED_BACKGRD_NUM)
index 2cb6c56..e838631 100644 (file)
  */
 
 
-#ifndef __SS_PROCMGR_H__
-#define __SS_PROCMGR_H__
+#ifndef __PROC_HANDLER_H__
+#define __PROC_HANDLER_H__
+
+#define OOMADJ_SU                       (-17)
+#define OOMADJ_INIT                     (-16)
+#define OOMADJ_FOREGRD_LOCKED           (-15)
+#define OOMADJ_FOREGRD_UNLOCKED         (-10)
+#define OOMADJ_BACKGRD_LOCKED           (-5)
+#define OOMADJ_BACKGRD_UNLOCKED         (1)
+
+#define OOMADJ_APP_LIMIT               (-16)
 
 int get_app_oomadj(int pid, int *oomadj);
 int set_app_oomadj(int pid, int new_oomadj);
 
-#endif /* __SS_PROCMGR_H__ */
+#endif /* __PROC_HANDLER_H__ */