Changeset 20374 in vbox for trunk/src/VBox/Additions/common/VBoxGuestLib
- Timestamp:
- Jun 8, 2009 12:43:21 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 48298
- Location:
- trunk/src/VBox/Additions/common/VBoxGuestLib
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuestLib/SysHlp.cpp
r20369 r20374 142 142 143 143 #ifdef RT_OS_LINUX 144 RT_ BEGIN_DECLS144 RT_C_DECLS_BEGIN 145 145 extern DECLVBGL(void *) vboxadd_cmc_open (void); 146 146 extern DECLVBGL(void) vboxadd_cmc_close (void *); 147 147 extern DECLVBGL(int) vboxadd_cmc_call (void *opaque, uint32_t func, void *data); 148 RT_ END_DECLS148 RT_C_DECLS_END 149 149 #endif /* RT_OS_LINUX */ 150 150 151 151 #ifdef RT_OS_OS2 152 RT_ BEGIN_DECLS152 RT_C_DECLS_BEGIN 153 153 /* 154 154 * On OS/2 we'll do the connecting in the assembly code of the … … 157 157 */ 158 158 extern VBOXGUESTOS2IDCCONNECT g_VBoxGuestIDC; 159 RT_ END_DECLS159 RT_C_DECLS_END 160 160 #endif 161 161 162 162 #ifdef RT_OS_SOLARIS 163 RT_ BEGIN_DECLS163 RT_C_DECLS_BEGIN 164 164 extern DECLVBGL(void *) VBoxGuestSolarisServiceOpen (uint32_t *pu32Version); 165 165 extern DECLVBGL(void) VBoxGuestSolarisServiceClose (void *pvOpaque); 166 166 extern DECLVBGL(int) VBoxGuestSolarisServiceCall (void *pvOpaque, unsigned int iCmd, void *pvData, size_t cbSize, size_t *pcbReturn); 167 RT_ END_DECLS167 RT_C_DECLS_END 168 168 169 169 #elif defined (RT_OS_FREEBSD) 170 RT_ BEGIN_DECLS170 RT_C_DECLS_BEGIN 171 171 extern DECLVBGL(void *) VBoxGuestFreeBSDServiceOpen (uint32_t *pu32Version); 172 172 extern DECLVBGL(void) VBoxGuestFreeBSDServiceClose (void *pvOpaque); 173 173 extern DECLVBGL(int) VBoxGuestFreeBSDServiceCall (void *pvOpaque, unsigned int iCmd, void *pvData, size_t cbSize, size_t *pcbReturn); 174 RT_ END_DECLS174 RT_C_DECLS_END 175 175 176 176 #endif -
trunk/src/VBox/Additions/common/VBoxGuestLib/SysHlp.h
r20369 r20374 32 32 # define _InterlockedAddLargeStatistic _InterlockedAddLargeStatistic_StupidDDKVsCompilerCrap 33 33 # pragma warning(disable : 4163) 34 RT_ BEGIN_DECLS34 RT_C_DECLS_BEGIN 35 35 # include <ntddk.h> 36 RT_ END_DECLS36 RT_C_DECLS_END 37 37 # pragma warning(default : 4163) 38 38 # undef _InterlockedExchange … … 41 41 # undef _InterlockedAddLargeStatistic 42 42 # else 43 RT_ BEGIN_DECLS43 RT_C_DECLS_BEGIN 44 44 # include <ntddk.h> 45 RT_ END_DECLS45 RT_C_DECLS_END 46 46 # endif 47 47 /* XP DDK #defines ExFreePool to ExFreePoolWithTag. The latter does not exist on NT4, so... -
trunk/src/VBox/Additions/common/VBoxGuestLib/VBGLR3Internal.h
r20369 r20374 28 28 #include <VBox/VBoxGuest.h> 29 29 30 RT_ BEGIN_DECLS30 RT_C_DECLS_BEGIN 31 31 32 32 int vbglR3DoIOCtl(unsigned iFunction, void *pvData, size_t cbData); … … 93 93 #endif /* ___iprt_string_h */ 94 94 95 RT_ END_DECLS95 RT_C_DECLS_END 96 96 97 97 #endif -
trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxCalls.h
r20369 r20374 34 34 # define _InterlockedAddLargeStatistic _InterlockedAddLargeStatistic_StupidDDKvsCompilerCrap 35 35 # pragma warning(disable : 4163) 36 RT_ BEGIN_DECLS36 RT_C_DECLS_BEGIN 37 37 # include <ntddk.h> 38 RT_ END_DECLS38 RT_C_DECLS_END 39 39 # pragma warning(default : 4163) 40 40 # undef _InterlockedExchange … … 43 43 # undef _InterlockedAddLargeStatistic 44 44 # else 45 RT_ BEGIN_DECLS45 RT_C_DECLS_BEGIN 46 46 # include <ntddk.h> 47 RT_ END_DECLS47 RT_C_DECLS_END 48 48 # endif 49 49 # endif
Note:
See TracChangeset
for help on using the changeset viewer.