[hipl-commit] [trunk] Rev 4401: Fix wrong multiple inclusion guards; the filename should be the template.

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Thu, 22 Apr 2010 13:03:49 +0300

Committer: Diego Biurrun <diego@xxxxxxxxxx>
Date: 22/04/2010 at 13:03:49
Revision: 4401
Revision-id: diego@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: trunk

Log:
  Fix wrong multiple inclusion guards; the filename should be the template.

Modified:
  M  lib/core/prefix.h

=== modified file 'lib/core/prefix.h'
--- lib/core/prefix.h   2010-03-19 09:00:54 +0000
+++ lib/core/prefix.h   2010-04-22 10:03:19 +0000
@@ -3,8 +3,9 @@
  *
  * Distributed under <a href="http://www.gnu.org/licenses/gpl2.txt";>GNU/GPL</a>
  */
-#ifndef HIP_LIB_CORE_UTILS_H
-#define HIP_LIB_CORE_UTILS_H
+
+#ifndef HIP_LIB_CORE_PREFIX_H
+#define HIP_LIB_CORE_PREFIX_H
 
 #include <sys/un.h>
 #include <stdlib.h>
@@ -117,4 +118,4 @@
   #define ntoh64 hton64
 #endif
 
-#endif /* HIP_LIB_CORE_UTILS_H */
+#endif /* HIP_LIB_CORE_PREFIX_H */

Other related posts:

  • » [hipl-commit] [trunk] Rev 4401: Fix wrong multiple inclusion guards; the filename should be the template. - Diego Biurrun