mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-04 08:30:54 +02:00
34961: clean up declarations of quote() and quotebreak()
This commit is contained in:
parent
89c2129905
commit
f8fb6ebae8
2 changed files with 5 additions and 3 deletions
|
@ -1,5 +1,7 @@
|
||||||
2015-04-25 Barton E. Schaefer <schaefer@zsh.org>
|
2015-04-25 Barton E. Schaefer <schaefer@zsh.org>
|
||||||
|
|
||||||
|
* 34961: Src/hist.c: clean up decl's of quote() and quotebreak()
|
||||||
|
|
||||||
* 34961: Doc/Zsh/mod_system.yo: sysparams[pid] and sysparams[ppid]
|
* 34961: Doc/Zsh/mod_system.yo: sysparams[pid] and sysparams[ppid]
|
||||||
added to variables index
|
added to variables index
|
||||||
|
|
||||||
|
|
|
@ -2255,10 +2255,10 @@ getargs(Histent elist, int arg1, int arg2)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**/
|
/**/
|
||||||
int
|
static int
|
||||||
quote(char **tr)
|
quote(char **tr)
|
||||||
{
|
{
|
||||||
char *ptr, *rptr, **str = (char **)tr;
|
char *ptr, *rptr, **str = tr;
|
||||||
int len = 3;
|
int len = 3;
|
||||||
int inquotes = 0;
|
int inquotes = 0;
|
||||||
|
|
||||||
|
@ -2299,7 +2299,7 @@ quote(char **tr)
|
||||||
static int
|
static int
|
||||||
quotebreak(char **tr)
|
quotebreak(char **tr)
|
||||||
{
|
{
|
||||||
char *ptr, *rptr, **str = (char **)tr;
|
char *ptr, *rptr, **str = tr;
|
||||||
int len = 3;
|
int len = 3;
|
||||||
|
|
||||||
for (ptr = *str; *ptr; ptr++, len++)
|
for (ptr = *str; *ptr; ptr++, len++)
|
||||||
|
|
Loading…
Reference in a new issue