More common subroutines
git-svn-id: svn://svn.cc65.org/cc65/trunk@69 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -44,6 +44,9 @@
|
||||
|
||||
|
||||
|
||||
/* Program name - is set after call to InitCmdLine */
|
||||
extern const char* ProgName;
|
||||
|
||||
/* Structure defining a long option */
|
||||
typedef struct LongOpt LongOpt;
|
||||
struct LongOpt {
|
||||
@@ -60,7 +63,7 @@ struct LongOpt {
|
||||
|
||||
|
||||
|
||||
void InitCmdLine (unsigned aArgCount, char* aArgVec[]);
|
||||
void InitCmdLine (unsigned 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.
|
||||
|
||||
Reference in New Issue
Block a user