Browse Source

cmUdpNet.h/c : Changed argv[] in cmUdpNetTest() from char* to const char*.

master
Kevin Larke 10 years ago
parent
commit
1cd2969f6d
2 changed files with 3 additions and 3 deletions
  1. 2
    2
      cmUdpNet.c
  2. 1
    1
      cmUdpNet.h

+ 2
- 2
cmUdpNet.c View File

592
 }
592
 }
593
 
593
 
594
 
594
 
595
-const cmChar_t* _cmUdpNetTestGetOpt( int argc, char* argv[], const char* opt )
595
+const cmChar_t* _cmUdpNetTestGetOpt( int argc, const char* argv[], const char* opt )
596
 {
596
 {
597
   unsigned i;
597
   unsigned i;
598
   for(i=0; i<argc; ++i)
598
   for(i=0; i<argc; ++i)
602
   return NULL;
602
   return NULL;
603
 }
603
 }
604
 
604
 
605
-cmRC_t cmUdpNetTest( cmCtx_t* ctx, int argc, char* argv[] )
605
+cmRC_t cmUdpNetTest( cmCtx_t* ctx, int argc, const char* argv[] )
606
 {
606
 {
607
   cmUdpNetH_t     h          = cmUdpNetNullHandle;
607
   cmUdpNetH_t     h          = cmUdpNetNullHandle;
608
   cmJsonH_t       jsH        = cmJsonNullHandle;
608
   cmJsonH_t       jsH        = cmJsonNullHandle;

+ 1
- 1
cmUdpNet.h View File

134
 cmUnRC_t cmUdpNetPrintNodes( cmUdpNetH_t h, cmRpt_t* rpt );
134
 cmUnRC_t cmUdpNetPrintNodes( cmUdpNetH_t h, cmRpt_t* rpt );
135
 void     cmUdpNetReport( cmUdpNetH_t h, cmRpt_t* rpt );
135
 void     cmUdpNetReport( cmUdpNetH_t h, cmRpt_t* rpt );
136
 
136
 
137
-cmRC_t cmUdpNetTest( cmCtx_t* ctx, int argc, char* argv[] );
137
+cmRC_t cmUdpNetTest( cmCtx_t* ctx, int argc, const char* argv[] );
138
 
138
 
139
 #ifdef __cplusplus
139
 #ifdef __cplusplus
140
 }
140
 }

Loading…
Cancel
Save