fixed horrible bug causing memory access after last argument in 'argv[]'
[rocksndiamonds.git] / src / libgame / misc.h
index 0e2be9c931f4f0d626adf2842562309a1d232fe8..8c0e4f431974afc9540cbf2e6d009c9b7ec6ec61 100644 (file)
@@ -147,6 +147,7 @@ time_t getFileTimestampEpochSeconds(char *);
 char *getBasePath(char *);
 char *getBaseName(char *);
 char *getBaseNamePtr(char *);
+char *getBaseNameNoSuffix(char *);
 
 char *getStringCat2WithSeparator(char *, char *, char *);
 char *getStringCat3WithSeparator(char *, char *, char *, char *);
@@ -168,7 +169,7 @@ boolean strSuffix(char *, char *);
 boolean strPrefixLower(char *, char *);
 boolean strSuffixLower(char *, char *);
 
-void GetOptions(char **,
+void GetOptions(int, char **,
                void (*print_usage_function)(void),
                void (*print_version_function)(void));