OSSP CVS Repository

ossp - Difference in ossp-pkg/rc/rc_optimpl.c versions 1.2 and 1.3
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/rc/rc_optimpl.c 1.2 -> 1.3

--- rc_optimpl.c 2002/02/28 18:24:04     1.2
+++ rc_optimpl.c 2002/03/01 22:48:23     1.3
@@ -37,7 +37,7 @@
 
 
 /* Loop through available options */
-rc_return_t foptProcess(char cOpt)
+rc_return_t coptProcess(int cOpt)
 {
     switch (cOpt) {
     case 'h':
@@ -58,10 +58,8 @@
 {
     ex_t Except;
     int  bCaught = 0;
-    int  nBufpos = 0;           /* For tracking options           */
     char cOpt = 0;              /* For argument parsing           */
     char *szCLIBuf = NULL;
-    int  nIter = 0;
     popt_context optCon;        /* Context for parsing options    */
 
     struct popt_option optionsTable[] = {
@@ -115,7 +113,7 @@
     /* Now do options processing */
     while ((cOpt = popt_getnextopt(optCon)) >= 0)
     ex_try {
-        foptProcess(cOpt);
+        coptProcess(cOpt);
     }
     ex_catch(Except) {
         if ((rc_return_t)Except.ex_value != RC_ERR_USE)

CVSTrac 2.0.1