[hipl-commit] [trunk] Rev 3959: Declare parameter lists of functions without parameters

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Tue, 16 Mar 2010 17:06:51 +0200

Committer: Diego Biurrun <diego@xxxxxxxxxx>
Date: 16/03/2010 at 17:06:51
Revision: 3959
Revision-id: diego@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: trunk

Log:
  Declare parameter lists of functions without parameters
  hip_get_opportunistic_tcp_status() and hip_get_hi3_status() as 'void'.

Modified:
  M  hipd/accessor.c

=== modified file 'hipd/accessor.c'
--- hipd/accessor.c     2010-03-16 15:02:51 +0000
+++ hipd/accessor.c     2010-03-16 15:05:24 +0000
@@ -129,7 +129,7 @@
  *
  * @return 1 if it is enabled or 0 otherwise
  */
-int hip_get_opportunistic_tcp_status()
+int hip_get_opportunistic_tcp_status(void)
 {
     return hip_use_opptcp;
 }
@@ -254,7 +254,7 @@
  *
  * @return 1 if it is enabled or 0 otherwise
  */
-int hip_get_hi3_status()
+int hip_get_hi3_status(void)
 {
     return hip_use_hi3;
 }

Other related posts:

  • » [hipl-commit] [trunk] Rev 3959: Declare parameter lists of functions without parameters - Diego Biurrun