Whamcloud - gitweb
Remove semicolon after MACRO do {...} while (0)
[fs/lustre-release.git] / lnet / include / libcfs / curproc.h
index 630912d..6495c66 100644 (file)
@@ -20,6 +20,7 @@
 #ifndef __LIBCFS_CURPROC_H__
 #define __LIBCFS_CURPROC_H__
 
+#ifdef __KERNEL__
 /*
  * Portable API to access common characteristics of "current" UNIX process.
  *
@@ -48,6 +49,7 @@ char  *cfs_curproc_comm(void);
  */
 cfs_kernel_cap_t cfs_curproc_cap_get(void);
 void cfs_curproc_cap_set(cfs_kernel_cap_t cap);
+#endif
 
 /* __LIBCFS_CURPROC_H__ */
 #endif