just change the position of define 09/14709/1
authorjy910.yun <jy910.yun@samsung.com>
Sun, 30 Jun 2013 10:34:39 +0000 (19:34 +0900)
committerKrzysztof Sasiak <k.sasiak@samsung.com>
Fri, 10 Jan 2014 08:55:04 +0000 (09:55 +0100)
Change-Id: I3d4b37cf8bb9b2d22ee10e544a3df71082d6e673
Signed-off-by: jy910.yun <jy910.yun@samsung.com>
src/proc/proc-handler.c
src/proc/proc-handler.h

index 0305a6a..cd62eaa 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__ */