File: 05_unconst.patch

package info (click to toggle)
sup 20100519-8
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 780 kB
  • sloc: ansic: 8,334; makefile: 106
file content (15 lines) | stat: -rw-r--r-- 429 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Index: sup-20091019/skipto.c
===================================================================
--- sup-20091019.orig/skipto.c	2009-10-20 17:57:21.000000000 +0200
+++ sup-20091019/skipto.c	2009-10-20 17:57:29.000000000 +0200
@@ -55,6 +55,10 @@
 #include "supcdefs.h"
 #include "supextern.h"
 
+#ifndef __UNCONST
+#define __UNCONST(a) ((void *)(unsigned long)(const void *)(a))
+#endif
+
 static char tab[256] = { 0 };
 
 char *