[hipl-commit] [trunk] Rev 4532: Move OPT_HI_* definitions to the only place they are used.

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Mon, 17 May 2010 00:45:01 +0300

Committer: Diego Biurrun <diego@xxxxxxxxxx>
Date: 17/05/2010 at 00:45:01
Revision: 4532
Revision-id: diego@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: trunk

Log:
  Move OPT_HI_* definitions to the only place they are used.

Modified:
  M  lib/conf/conf.c
  M  lib/conf/conf.h

=== modified file 'lib/conf/conf.c'
--- lib/conf/conf.c     2010-05-16 21:36:28 +0000
+++ lib/conf/conf.c     2010-05-16 21:44:40 +0000
@@ -1046,6 +1046,11 @@
     return err;
 }
 
+#define OPT_HI_TYPE   0
+#define OPT_HI_FMT    1
+#define OPT_HI_FILE   2
+#define OPT_HI_KEYLEN 3
+
 /**
  * Handles the hipconf commands where the type is @c hi.
  *

=== modified file 'lib/conf/conf.h'
--- lib/conf/conf.h     2010-05-16 21:36:28 +0000
+++ lib/conf/conf.h     2010-05-16 21:44:40 +0000
@@ -47,12 +47,6 @@
 #define EXEC_LOADLIB_NONE       13
 /* @} */
 
-/* for handle_hi() only */
-#define OPT_HI_TYPE 0
-#define OPT_HI_FMT  1
-#define OPT_HI_FILE 2
-#define OPT_HI_KEYLEN 3
-
 
 #define HIPL_CONFIG_FILE_EX \
     "# Format of this file is as with hipconf, but without hipconf prefix\n\

Other related posts:

  • » [hipl-commit] [trunk] Rev 4532: Move OPT_HI_* definitions to the only place they are used. - Diego Biurrun