[hipl-commit] [trunk] Rev 4531: Move LIB_LENGTH definition to the only place it is used.

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

Committer: Diego Biurrun <diego@xxxxxxxxxx>
Date: 17/05/2010 at 00:38:04
Revision: 4531
Revision-id: diego@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: trunk

Log:
  Move LIB_LENGTH definition to the only place it is 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:17:29 +0000
+++ lib/conf/conf.c     2010-05-16 21:36:28 +0000
@@ -2271,6 +2271,9 @@
     return err;
 }
 
+/** Maximum length of the string for that stores all libraries. */
+#define LIB_LENGTH 200
+
 /**
  * Handle the hipconf commands where the type is @c run. Execute new
  * application and set environment variable "LD_PRELOAD" to as type

=== modified file 'lib/conf/conf.h'
--- lib/conf/conf.h     2010-05-16 21:17:29 +0000
+++ lib/conf/conf.h     2010-05-16 21:36:28 +0000
@@ -45,12 +45,6 @@
  * @see handle_exec_application()
  */
 #define EXEC_LOADLIB_NONE       13
-
-/**
- * Maximum length of the string for that stores all libraries.
- * @see handle_exec_application()
- */
-#define LIB_LENGTH      200
 /* @} */
 
 /* for handle_hi() only */

Other related posts:

  • » [hipl-commit] [trunk] Rev 4531: Move LIB_LENGTH definition to the only place it is used. - Diego Biurrun