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
19 lines
567 B
C
19 lines
567 B
C
--- ./modules/FvwmPager/FvwmPager.c.orig 1994-10-07 12:49:26.000000000 +0000
|
|
+++ ./modules/FvwmPager/FvwmPager.c 2009-03-11 09:42:51.000000000 +0000
|
|
@@ -82,7 +82,7 @@
|
|
* main - start of module
|
|
*
|
|
***********************************************************************/
|
|
-void main(int argc, char **argv)
|
|
+int main(int argc, char **argv)
|
|
{
|
|
char *temp, *s, *cptr;
|
|
char *display_name = NULL;
|
|
@@ -186,6 +186,7 @@
|
|
SendInfo(fd,"Send_WindowList",0);
|
|
|
|
Loop(fd);
|
|
+ return (0);
|
|
}
|
|
|
|
/***********************************************************************
|