1
0
Fork 0
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:
Nikolas Garofil 2014-06-07 13:48:40 -07:00 committed by Barton E. Schaefer
parent 37ccdf58c0
commit 4f4d2b8247
7 changed files with 31 additions and 10 deletions

View file

@ -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++)