[hipl-commit] [trunk] Rev 4530: Make hip_conf_handle_hi() static; it is not used outside of the file.

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

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

Log:
  Make hip_conf_handle_hi() static; it is not used outside of the file.

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:02:09 +0000
+++ lib/conf/conf.c     2010-05-16 21:17:29 +0000
@@ -1057,8 +1057,8 @@
  * @param optc   the number of elements in the array.
  * @return       zero on success, or negative error value on error.
  */
-int hip_conf_handle_hi(hip_common_t *msg, int action, const char *opt[],
-                       int optc, int send_only)
+static int hip_conf_handle_hi(hip_common_t *msg, int action, const char *opt[],
+                              int optc, int send_only)
 {
     int err          = 0, anon = 0, use_default = 0, rsa_key_bits = 0;
     int dsa_key_bits = 0;

=== modified file 'lib/conf/conf.h'
--- lib/conf/conf.h     2010-05-16 21:02:09 +0000
+++ lib/conf/conf.h     2010-05-16 21:17:29 +0000
@@ -191,10 +191,5 @@
                          const char *opt[],
                          int optc,
                          int send_only);
-int hip_conf_handle_hi(hip_common_t *msg,
-                       int type,
-                       const char *opt[],
-                       int optc,
-                       int send_only);
 
 #endif /* HIP_LIB_CONF_HIPCONF_H */

Other related posts:

  • » [hipl-commit] [trunk] Rev 4530: Make hip_conf_handle_hi() static; it is not used outside of the file. - Diego Biurrun