- Timestamp:
- 07/09/2017 04:45:34 PM (7 years ago)
- Branches:
- master
- Children:
- 8618599
- Parents:
- 0292fbb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
prolog/croot.c
r0292fbb r7258c6a 27 27 #define MAXARGS 30 /* maximum number of command line arguments */ 28 28 29 extern int open(char *name, int flag, int mode);30 extern int creat(char *name, int mode);29 extern int16_t open(int8_t *name, int16_t flag, int16_t mode); 30 extern int16_t creat(int8_t *name, int16_t mode); 31 31 32 32 extern void InitFS(void); … … 34 34 extern void xtrap15(void); 35 35 36 int (*_clsall)();36 int16_t (*_clsall)(); 37 37 38 38 /* … … 40 40 */ 41 41 42 static int Argc;43 static char*Argv[MAXARGS];42 static int16_t Argc; 43 static int8_t *Argv[MAXARGS]; 44 44 45 45 /* … … 93 93 */ 94 94 95 void Croot( char*cp)95 void Croot(int8_t *cp) 96 96 { 97 register char*fname;98 register int k;97 register int8_t *fname; 98 register int16_t k; 99 99 100 100 Argv[0] = ROOTMSG;
Note:
See TracChangeset
for help on using the changeset viewer.