[hipl-commit] [trunk] Rev 4348: Fix illegal identifier.

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Tue, 20 Apr 2010 13:32:42 +0300

Committer: Diego Biurrun <diego@xxxxxxxxxx>
Date: 20/04/2010 at 13:32:42
Revision: 4348
Revision-id: diego@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: trunk

Log:
  Fix illegal identifier.
  
  Identifiers starting with _ and uppercase letters are reserved for the system.

Modified:
  M  lib/core/hip_capability.c

=== modified file 'lib/core/hip_capability.c'
--- lib/core/hip_capability.c   2010-04-20 10:31:28 +0000
+++ lib/core/hip_capability.c   2010-04-20 10:32:14 +0000
@@ -72,7 +72,7 @@
 
 #ifdef CONFIG_HIP_ALTSEP
 
-#define _LINUX_CAPABILITY_VERSION_HIPL  0x19980330
+#define LINUX_CAPABILITY_VERSION_HIPL  0x19980330
 
 /**
  * lower the privileges of the running process
@@ -88,7 +88,7 @@
     struct __user_cap_data_struct data;
 
     header.pid     = 0;
-    header.version = _LINUX_CAPABILITY_VERSION_HIPL;
+    header.version = LINUX_CAPABILITY_VERSION_HIPL;
     data.effective = data.permitted = data.inheritable = 0;
 
     HIP_IFEL(prctl(PR_SET_KEEPCAPS, 1), -1, "prctl err\n");

Other related posts:

  • » [hipl-commit] [trunk] Rev 4348: Fix illegal identifier. - Diego Biurrun