ports/x11-wm/fvwm/files/patch-mystrcasecmp.c
Dirk Meyer ee1fdf1921 - make fvwm compile w/o Warnings apart from one usage of mkstemp
by adding needed #includes, adding return statements to
 non-void functions and declaring functions returning a int
 instead of void if they do return an return code.
- start using one central safemalloc.
- do not mangle pointers which makes FvwmWinList work on
  amd64/7-STABLE again.
PR:		132571
Submitted by:	Bjoern A. Zeeb
2009-03-14 20:10:23 +00:00

10 lines
269 B
C

--- ./libs/mystrcasecmp.c.orig 1994-09-14 15:55:20.000000000 +0000
+++ ./libs/mystrcasecmp.c 2009-03-11 09:42:49.000000000 +0000
@@ -1,6 +1,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
+#include <string.h>
int mystrcasecmp(char *s1,char *s2)
{