mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-27 16:50:58 +01:00
32737, 32736 (32741), 32735, 32734, 32733, 32732 (32739): Strict compilation
fixes Src/utils.c: properly ifdef declarations Src/zsh_system.h: memmove() should return its dest argument Src/signals.c: define ret before use Src/mem.c: remove unused pointers Src/prototypes.h: use size_t in bcopy() Src/compat.c: fix const declaration inconsistency
This commit is contained in:
parent
37ccdf58c0
commit
4f4d2b8247
7 changed files with 31 additions and 10 deletions
|
|
@ -37,7 +37,7 @@
|
|||
char *
|
||||
strstr(const char *s, const char *t)
|
||||
{
|
||||
char *p1, *p2;
|
||||
const char *p1, *p2;
|
||||
|
||||
for (; *s; s++) {
|
||||
for (p1 = s, p2 = t; *p2; p1++, p2++)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue