ee1fdf1921
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
10 lines
283 B
C
10 lines
283 B
C
--- ./libs/hostname.c.orig 1994-09-22 12:37:18.000000000 +0000
|
|
+++ ./libs/hostname.c 2009-03-11 09:42:49.000000000 +0000
|
|
@@ -4,6 +4,7 @@
|
|
/* define mygethostname() by using uname() */
|
|
|
|
#include <sys/utsname.h>
|
|
+#include <string.h>
|
|
|
|
int mygethostname(char *client, int length)
|
|
{
|