This patch removes 3 of the gcc-3.4.3 warnings: implicit declaration of function `xxx' but there are 27 others left. One (WRITE_DEPTH in r128_span.c) is almost certainly a bug, most of the others (printf, sprintf, isspace, isdigit, waitpid, strlcat, strlcpy, initgroups, xorgGetVersion) are just sloppyness - if you allow me to say so. FT_Matrix_Invert in psout_ft.c may or may not be a bug. NOTE: XFree86-4.4.0 produced very few such warnings and XFree86-4.5.0 doesn't produce any. Wouldn't it be nice to keep XOrg and XFree86 more in sync in these respects? diff -ur -N XOrg-6.8.2.orig/xc/extras/Mesa/src/mesa/drivers/dri/i915/i830_context.c XOrg-6.8.2/xc/extras/Mesa/src/mesa/drivers/dri/i915/i830_context.c --- XOrg-6.8.2.orig/xc/extras/Mesa/src/mesa/drivers/dri/i915/i830_context.c 2004-12-15 02:50:58.000000000 +0100 +++ XOrg-6.8.2/xc/extras/Mesa/src/mesa/drivers/dri/i915/i830_context.c 2005-03-24 14:57:39.000000000 +0100 @@ -32,6 +32,7 @@ #include "tnl/tnl.h" #include "tnl/t_vertex.h" #include "tnl/t_context.h" +#include "utils.h" /*************************************** diff -ur -N XOrg-6.8.2.orig/xc/programs/Xserver/Xprint/DiPrint.h XOrg-6.8.2/xc/programs/Xserver/Xprint/DiPrint.h --- XOrg-6.8.2.orig/xc/programs/Xserver/Xprint/DiPrint.h 2004-04-23 20:57:32.000000000 +0200 +++ XOrg-6.8.2/xc/programs/Xserver/Xprint/DiPrint.h 2005-03-24 14:43:48.000000000 +0100 @@ -62,6 +62,10 @@ extern WindowPtr XpDiValidatePrinter(char *printerName, int printerNameLen); +extern void XprintInitGlobals(void); + +extern void XprintUseMsg(void); + extern int XprintOptions(int argc, char **argv, int i); extern void PrinterInitOutput(ScreenInfo *pScreenInfo, int argc, char **argv); diff -ur -N XOrg-6.8.2.orig/xc/programs/Xserver/Xprint/Init.c XOrg-6.8.2/xc/programs/Xserver/Xprint/Init.c --- XOrg-6.8.2.orig/xc/programs/Xserver/Xprint/Init.c 2005-03-23 17:33:47.000000000 +0100 +++ XOrg-6.8.2/xc/programs/Xserver/Xprint/Init.c 2005-03-24 14:43:38.000000000 +0100 @@ -329,7 +329,7 @@ /* * XprintUseMsg() prints usage for the Xprint-specific options */ -void XprintUseMsg() +void XprintUseMsg(void) { XpSpoolerTypePtr curr = xpstm; diff -ur -N XOrg-6.8.2.orig/xc/programs/Xserver/os/osdep.h XOrg-6.8.2/xc/programs/Xserver/os/osdep.h --- XOrg-6.8.2.orig/xc/programs/Xserver/os/osdep.h 2004-04-23 21:54:28.000000000 +0200 +++ XOrg-6.8.2/xc/programs/Xserver/os/osdep.h 2005-03-24 14:08:07.000000000 +0100 @@ -338,4 +338,6 @@ struct sockaddr_in; extern void XdmcpRegisterBroadcastAddress (struct sockaddr_in *addr); +extern void XdmAuthenticationInit (char *cookie, int cookie_length); + #endif /* _OSDEP_H_ */