Changeset 35396 in vbox
- Timestamp:
- Jan 3, 2011 9:27:09 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 21 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/string.h
r35395 r35396 34 34 #if defined(RT_OS_LINUX) && defined(__KERNEL__) 35 35 # include <linux/string.h> 36 #elif defined(IN_XF86_MODULE) && !defined(NO_ANSIC)37 RT_C_DECLS_BEGIN38 # include "xf86_ansic.h"39 RT_C_DECLS_END40 36 #elif defined(RT_OS_FREEBSD) && defined(_KERNEL) 41 37 /** @todo -
trunk/src/VBox/Additions/common/VBoxVideo/HGSMIBase.cpp
r35393 r35396 25 25 #include <iprt/asm.h> 26 26 #include <iprt/log.h> 27 #include <iprt/string.h> 27 28 #include <string.h> 28 29 29 30 /** Send completion notification to the host for the command located at offset -
trunk/src/VBox/Additions/common/VBoxVideo/VBVABase.cpp
r35393 r35396 22 22 #include <VBox/log.h> 23 23 #include <iprt/assert.h> 24 #include <iprt/string.h> 24 25 #include <string.h> 25 26 26 27 /* -
trunk/src/VBox/Additions/x11/vboxmouse/Makefile.kmk
r35393 r35396 38 38 XFree86LOADER XFree86Server XF86VIDMODE XvMCExtension SMART_SCHEDULE \ 39 39 BUILDDEBUG X_BYTE_ORDER=X_LITTLE_ENDIAN DNDEBUG FUNCPROTO=15 NARROWPROTO \ 40 IN_MODULE XFree86Module PNP_MOUSE IN_XF86_MODULE40 IN_MODULE XFree86Module PNP_MOUSE 41 41 vboxmouse_drv_INCS := \ 42 42 $(VBOX_PATH_X11_XFREE_4_3)/include \ … … 63 63 vboxmouse_drv_70_TEMPLATE = VBOXGUESTR3XORGMOD 64 64 vboxmouse_drv_70_DEFS = \ 65 XFree86Server IN_MODULE XFree86Module XFree86LOADER XINPUT XORG_7X IN_XF86_MODULE65 XFree86Server IN_MODULE XFree86Module XFree86LOADER XINPUT XORG_7X 66 66 ifeq ($(KBUILD_TARGET),solaris) # don't use .solaris or anything here. 67 67 vboxmouse_drv_70_DEFS += _XPG6 __EXTENSIONS__ -
trunk/src/VBox/Additions/x11/vboxmouse/VBoxUtils.c
r35393 r35396 24 24 #include "xf86.h" 25 25 #define NEED_XF86_TYPES 26 #include <iprt/string.h> 26 #ifdef NO_ANSIC 27 # include <errno.h> 28 # include <string.h> 29 #else 30 # include "xf86_ansic.h" 31 #endif 27 32 #include "compiler.h" 28 33 -
trunk/src/VBox/Additions/x11/vboxvideo/Makefile.kmk
r35393 r35396 38 38 XFree86LOADER XFree86Server XF86VIDMODE XvMCExtension SMART_SCHEDULE \ 39 39 BUILDDEBUG X_BYTE_ORDER=X_LITTLE_ENDIAN DNDEBUG FUNCPROTO=15 NARROWPROTO \ 40 IN_MODULE XFree86Module IN_XF86_MODULE40 IN_MODULE XFree86Module 41 41 vboxvideo_drv_DEFS += memset=xf86memset memcpy=xf86memcpy 42 42 vboxvideo_drv_INCS = \ … … 75 75 vboxutils.c \ 76 76 $(PATH_ROOT)/src/VBox/Additions/common/VBoxVideo/HGSMIBase.cpp \ 77 $(PATH_ROOT)/src/VBox/Additions/common/VBoxVideo/Modesetting.cpp \78 $(PATH_ROOT)/src/VBox/Additions/common/VBoxVideo/VBVABase.cpp \79 77 $(PATH_ROOT)/src/VBox/GuestHost/HGSMI/HGSMICommon.cpp \ 80 78 $(PATH_ROOT)/src/VBox/Runtime/common/alloc/heapsimple.cpp \ 81 $(PATH_ROOT)/src/VBox/Runtime/common/alloc/heapoffset.cpp 79 $(PATH_ROOT)/src/VBox/Runtime/common/alloc/heapoffset.cpp \ 80 $(PATH_ROOT)/src/VBox/Additions/common/VBoxVideo/VBVABase.cpp \ 81 $(PATH_ROOT)/src/VBox/Additions/common/VBoxVideo/Modesetting.cpp 82 82 83 83 … … 97 97 endif 98 98 vboxvideo_drv_70_DEFS := \ 99 XFree86Server IN_MODULE XFree86Module XFree86LOADER XORG_7X RENDER=1 IN_XF86_MODULE99 XFree86Server IN_MODULE XFree86Module XFree86LOADER XORG_7X RENDER=1 100 100 ifeq ($(KBUILD_TARGET),solaris) # don't use .solaris or anything here. 101 101 vboxvideo_drv_70_DEFS += __EXTENSIONS__ -
trunk/src/VBox/Additions/x11/vboxvideo/vboxutils.c
r35393 r35396 25 25 #include "xf86.h" 26 26 #define NEED_XF86_TYPES 27 #include <iprt/string.h> 27 #ifdef NO_ANSIC 28 # include <string.h> 29 #else 30 # include "xf86_ansic.h" 31 #endif 28 32 #include "compiler.h" 29 33 #include "cursorstr.h" -
trunk/src/VBox/Additions/x11/vboxvideo/vboxvideo.c
r35393 r35396 1160 1160 { 1161 1161 VBOXPtr pVBox = VBOXGetRec(pScrn); 1162 uint64_t cbOldFB, cbNewFB;1162 int64_t cbOldFB, cbNewFB; 1163 1163 1164 1164 cbOldFB = pVBox->cbLine * pScrn->virtualX; -
trunk/src/VBox/Additions/x11/vboxvideo/vboxvideo.h
r35393 r35396 107 107 #endif 108 108 109 #include <iprt/string.h> 109 #ifndef NO_ANSIC 110 /* All drivers need this */ 111 # include "xf86_ansic.h" 112 #endif 113 110 114 #include "compiler.h" 111 115 -
trunk/src/VBox/Additions/x11/x11include/1.3/xorg/xf86_ansic.h
r35393 r35396 265 265 extern void* xf86mmap(void*, xf86size_t, int, int, int, xf86size_t /* off_t */); 266 266 extern int xf86munmap(void*, xf86size_t); 267 extern int xf86stat(const char *, struct xf86stat _s*);268 extern int xf86fstat(int, struct xf86stat _s*);267 extern int xf86stat(const char *, struct xf86stat *); 268 extern int xf86fstat(int, struct xf86stat *); 269 269 extern int xf86access(const char *, int); 270 270 extern int xf86errno; -
trunk/src/VBox/Additions/x11/x11include/1.3/xorg/xf86_libc.h
r35393 r35396 86 86 typedef unsigned int xf86gid_t; 87 87 88 struct xf86stat _s{88 struct xf86stat { 89 89 xf86dev_t st_rdev; /* This is incomplete, and makes assumptions */ 90 90 }; … … 549 549 #define gid_t xf86gid_t 550 550 #undef stat_t 551 #define stat_t struct xf86stat _s551 #define stat_t struct xf86stat 552 552 553 553 #undef ulong -
trunk/src/VBox/Additions/x11/x11include/1.4/xorg/xf86_ansic.h
r35393 r35396 249 249 extern void* xf86mmap(void*, xf86size_t, int, int, int, xf86size_t /* off_t */); 250 250 extern int xf86munmap(void*, xf86size_t); 251 extern int xf86stat(const char *, struct xf86stat _s*);252 extern int xf86fstat(int, struct xf86stat _s*);251 extern int xf86stat(const char *, struct xf86stat *); 252 extern int xf86fstat(int, struct xf86stat *); 253 253 extern int xf86access(const char *, int); 254 254 extern int xf86errno; -
trunk/src/VBox/Additions/x11/x11include/1.4/xorg/xf86_libc.h
r35393 r35396 86 86 typedef unsigned int xf86gid_t; 87 87 88 struct xf86stat _s{88 struct xf86stat { 89 89 xf86dev_t st_rdev; /* This is incomplete, and makes assumptions */ 90 90 }; … … 549 549 #define gid_t xf86gid_t 550 550 #undef stat_t 551 #define stat_t struct xf86stat _s551 #define stat_t struct xf86stat 552 552 553 553 #undef ulong -
trunk/src/VBox/Additions/x11/x11include/4.3/programs/Xserver/hw/xfree86/os-support/xf86_ansic.h
r35393 r35396 272 272 extern void* xf86mmap(void*, xf86size_t, int, int, int, xf86size_t /* off_t */); 273 273 extern int xf86munmap(void*, xf86size_t); 274 extern int xf86stat(const char *, struct xf86stat _s*);275 extern int xf86fstat(int, struct xf86stat _s*);274 extern int xf86stat(const char *, struct xf86stat *); 275 extern int xf86fstat(int, struct xf86stat *); 276 276 extern int xf86access(const char *, int); 277 277 extern int xf86errno; -
trunk/src/VBox/Additions/x11/x11include/4.3/programs/Xserver/hw/xfree86/os-support/xf86_libc.h
r35393 r35396 64 64 typedef unsigned int xf86gid_t; 65 65 66 struct xf86stat _s{66 struct xf86stat { 67 67 xf86dev_t st_rdev; /* This is incomplete, and makes assumptions */ 68 68 }; … … 505 505 #define gid_t xf86gid_t 506 506 #undef stat_t 507 #define stat_t struct xf86stat _s507 #define stat_t struct xf86stat 508 508 509 509 #undef ulong -
trunk/src/VBox/Additions/x11/x11include/7.0/xorg/xf86_ansic.h
r35393 r35396 274 274 extern void* xf86mmap(void*, xf86size_t, int, int, int, xf86size_t /* off_t */); 275 275 extern int xf86munmap(void*, xf86size_t); 276 extern int xf86stat(const char *, struct xf86stat _s*);277 extern int xf86fstat(int, struct xf86stat _s*);276 extern int xf86stat(const char *, struct xf86stat *); 277 extern int xf86fstat(int, struct xf86stat *); 278 278 extern int xf86access(const char *, int); 279 279 extern int xf86errno; -
trunk/src/VBox/Additions/x11/x11include/7.0/xorg/xf86_libc.h
r35393 r35396 90 90 typedef unsigned int xf86gid_t; 91 91 92 struct xf86stat _s{92 struct xf86stat { 93 93 xf86dev_t st_rdev; /* This is incomplete, and makes assumptions */ 94 94 }; … … 553 553 #define gid_t xf86gid_t 554 554 #undef stat_t 555 #define stat_t struct xf86stat _s555 #define stat_t struct xf86stat 556 556 557 557 #undef ulong -
trunk/src/VBox/Additions/x11/x11include/7.1/xorg/xf86_ansic.h
r35393 r35396 275 275 extern void* xf86mmap(void*, xf86size_t, int, int, int, xf86size_t /* off_t */); 276 276 extern int xf86munmap(void*, xf86size_t); 277 extern int xf86stat(const char *, struct xf86stat _s*);278 extern int xf86fstat(int, struct xf86stat _s*);277 extern int xf86stat(const char *, struct xf86stat *); 278 extern int xf86fstat(int, struct xf86stat *); 279 279 extern int xf86access(const char *, int); 280 280 extern int xf86errno; -
trunk/src/VBox/Additions/x11/x11include/7.1/xorg/xf86_libc.h
r35393 r35396 90 90 typedef unsigned int xf86gid_t; 91 91 92 struct xf86stat _s{92 struct xf86stat { 93 93 xf86dev_t st_rdev; /* This is incomplete, and makes assumptions */ 94 94 }; … … 555 555 #define gid_t xf86gid_t 556 556 #undef stat_t 557 #define stat_t struct xf86stat _s557 #define stat_t struct xf86stat 558 558 559 559 #undef ulong -
trunk/src/VBox/Additions/x11/x11include/xorg-server-1.3.0.0/xf86_ansic.h
r35393 r35396 265 265 extern void* xf86mmap(void*, xf86size_t, int, int, int, xf86size_t /* off_t */); 266 266 extern int xf86munmap(void*, xf86size_t); 267 extern int xf86stat(const char *, struct xf86stat _s*);268 extern int xf86fstat(int, struct xf86stat _s*);267 extern int xf86stat(const char *, struct xf86stat *); 268 extern int xf86fstat(int, struct xf86stat *); 269 269 extern int xf86access(const char *, int); 270 270 extern int xf86errno; -
trunk/src/VBox/Additions/x11/x11include/xorg-server-1.3.0.0/xf86_libc.h
r35393 r35396 86 86 typedef unsigned int xf86gid_t; 87 87 88 struct xf86stat _s{88 struct xf86stat { 89 89 xf86dev_t st_rdev; /* This is incomplete, and makes assumptions */ 90 90 }; … … 549 549 #define gid_t xf86gid_t 550 550 #undef stat_t 551 #define stat_t struct xf86stat _s551 #define stat_t struct xf86stat 552 552 553 553 #undef ulong
Note:
See TracChangeset
for help on using the changeset viewer.