summaryrefslogtreecommitdiff
path: root/include/miscstruct.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/miscstruct.h')
-rw-r--r--include/miscstruct.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/miscstruct.h b/include/miscstruct.h
index 01dd2821c..7d6dec0e8 100644
--- a/include/miscstruct.h
+++ b/include/miscstruct.h
@@ -45,6 +45,8 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
******************************************************************/
+/* $XFree86: xc/programs/Xserver/include/miscstruct.h,v 3.3 2001/12/14 19:59:55 dawes Exp $ */
+
#ifndef MISCSTRUCT_H
#define MISCSTRUCT_H 1
@@ -61,7 +63,11 @@ typedef union _DevUnion {
pointer ptr;
long val;
unsigned long uval;
- pointer (*fptr)();
+ pointer (*fptr)(
+#if NeedFunctionPrototypes
+ void
+#endif
+ );
} DevUnion;
#endif /* MISCSTRUCT_H */