1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-06-01 12:56:04 +02:00

34961: clean up declarations of quote() and quotebreak()

This commit is contained in:
Barton E. Schaefer 2015-04-25 10:51:54 -07:00
parent 89c2129905
commit f8fb6ebae8
2 changed files with 5 additions and 3 deletions

View File

@ -1,5 +1,7 @@
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]
added to variables index

View File

@ -2255,10 +2255,10 @@ getargs(Histent elist, int arg1, int arg2)
}
/**/
int
static int
quote(char **tr)
{
char *ptr, *rptr, **str = (char **)tr;
char *ptr, *rptr, **str = tr;
int len = 3;
int inquotes = 0;
@ -2299,7 +2299,7 @@ quote(char **tr)
static int
quotebreak(char **tr)
{
char *ptr, *rptr, **str = (char **)tr;
char *ptr, *rptr, **str = tr;
int len = 3;
for (ptr = *str; *ptr; ptr++, len++)