OSDN Git Service

[automerger] Require quotes when searching for blkid keys. am: ee5c7318d7
[android-x86/system-vold.git] / Process.h
index e745ca4..62a9313 100644 (file)
--- a/Process.h
+++ b/Process.h
@@ -21,7 +21,7 @@
 
 class Process {
 public:
-    static void killProcessesWithOpenFiles(const char *path, int action);
+    static int killProcessesWithOpenFiles(const char *path, int signal);
     static int getPid(const char *s);
     static int checkSymLink(int pid, const char *path, const char *name);
     static int checkFileMaps(int pid, const char *path);
@@ -36,7 +36,7 @@ private:
 
 extern "C" {
 #endif /* __cplusplus */
-       void vold_killProcessesWithOpenFiles(const char *path, int action);
+       void vold_killProcessesWithOpenFiles(const char *path, int signal);
 #ifdef __cplusplus
 }
 #endif