* winf.h (av::unshift): Make __reg2.

This commit is contained in:
Christopher Faylor 2013-06-19 17:21:25 +00:00
parent 25855a0139
commit 5e24aee56c
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2013-06-19 Christopher Faylor <me.cygwin2013@cgf.cx>
* winf.h (av::unshift): Make __reg2.
2013-06-19 Christopher Faylor <me.cygwin2013@cgf.cx>
* spawn.cc (child_info_spawn::worker): Eliminate call to newargv.set()

View File

@ -43,7 +43,7 @@ class av
cfree (argv);
}
}
int unshift (const char *what, int conv = 0);
int unshift (const char *what, int conv = 0) __reg2;
operator char **() {return argv;}
void all_calloced () {calloced = argc;}
void replace0_maybe (const char *arg0)
@ -61,7 +61,8 @@ class av
argv[i] = cstrdup1 (argv[i]);
calloced = argc;
}
int setup (const char *, path_conv&, const char *, int, const char *const *, bool) __reg3;
int setup (const char *, path_conv&, const char *, int, const char *const *,
bool) __reg3;
};
class linebuf