[PATCH] xf86sym.c

Jeff Chua <[email protected]>
Newsgroups gmane.comp.xfree86.devel
Message-ID <[email protected]>
Latest CVS can't compile due to "__unused" undefined.

Here's a fix ...


--- xfree86/xc/programs/Xserver/hw/xfree86/loader/xf86sym.c	2006-06-29 13:23:00 +0800
+++ xfree86/xc/programs/Xserver/hw/xfree86/loader/xf86sym.c	2006-06-29 09:58:16 +0800
@@ -289,7 +289,7 @@
   * For propolice/gcc stack protector.
   */
  extern long __guard[8];
-extern void __stack_smash_handler(char func[], int damaged  __unused);
+extern void __stack_smash_handler(char func[], int damaged);
  #pragma weak __guard
  #pragma weak __stack_smash_handler




Thanks,
Jeff
[ [email protected] ]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.