-void InitCmdLine (unsigned* aArgCount, char** aArgVec[], const char* aProgName)
+void InitCmdLine (int* aArgCount, char** aArgVec[], const char* aProgName)
/* Initialize command line parsing. aArgVec is the argument array terminated by
* a NULL pointer (as usual), ArgCount is the number of valid arguments in the
* array. Both arguments are remembered in static storage.
*/
{
CmdLine L;
- unsigned I;
+ int I;
/* Get the program name from argv[0] but strip a path */
if (*(aArgVec)[0] == 0) {
-void LongOption (int* ArgNum, const LongOpt* OptTab, unsigned OptCount)
+void LongOption (unsigned* ArgNum, const LongOpt* OptTab, unsigned OptCount)
/* Handle a long command line option */
{
/* Get the option and the argument (which may be zero) */
-void InitCmdLine (unsigned* aArgCount, char** aArgVec[], const char* aProgName);
+void InitCmdLine (int* aArgCount, char** aArgVec[], const char* aProgName);
/* Initialize command line parsing. aArgVec is the argument array terminated by
* a NULL pointer (as usual), ArgCount is the number of valid arguments in the
* array. Both arguments are remembered in static storage.
void NeedArg (const char* Opt) attribute ((noreturn));
/* Print an error about a missing option argument and exit. */
-
+
void InvDef (const char* Def) attribute ((noreturn));
/* Print an error about an invalid definition and die */
* option itself or may be separate. Len is the length of the option string.
*/
-void LongOption (int* ArgNum, const LongOpt* OptTab, unsigned OptCount);
+void LongOption (unsigned* ArgNum, const LongOpt* OptTab, unsigned OptCount);
/* Handle a long command line option */