aboutsummaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2008-01-24 22:33:49 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2008-01-24 22:33:49 +0000
commitc785bbf55817a91663f8aace883293ab760694aa (patch)
tree002efd5df72056ded74d2376549f077464c652a8 /packaging
parente92301081447c0eb2c847baea5dcd2b5a452bdc2 (diff)
Removed even more C++ style comments.
svn path=/trunk/; revision=24186
Diffstat (limited to 'packaging')
-rw-r--r--packaging/u3/tools/sysdep.c6
-rw-r--r--packaging/u3/win32/u3util.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/packaging/u3/tools/sysdep.c b/packaging/u3/tools/sysdep.c
index 5099a3faf7..b6f3e32401 100644
--- a/packaging/u3/tools/sysdep.c
+++ b/packaging/u3/tools/sysdep.c
@@ -91,9 +91,9 @@ void get_system_time(uuid_time_t *uuid_time)
GetSystemTimeAsFileTime((FILETIME *)&time);
time.QuadPart +=
- (unsigned __int64) (1000*1000*10) // seconds
- * (unsigned __int64) (60 * 60 * 24) // days
- * (unsigned __int64) (17+30+31+365*18+5); // # of days
+ (unsigned __int64) (1000*1000*10) /* seconds */
+ * (unsigned __int64) (60 * 60 * 24) /* days */
+ * (unsigned __int64) (17+30+31+365*18+5); /* # of days */
*uuid_time = time.QuadPart;
}
diff --git a/packaging/u3/win32/u3util.c b/packaging/u3/win32/u3util.c
index 07f5cc768b..0951c5515e 100644
--- a/packaging/u3/win32/u3util.c
+++ b/packaging/u3/win32/u3util.c
@@ -153,8 +153,8 @@ DWORD TerminateApp( DWORD dwPID, DWORD dwTimeout )
HANDLE hProc ;
DWORD dwRet ;
- // If we can't open the process with PROCESS_TERMINATE rights,
- // then we give up immediately.
+ /* If we can't open the process with PROCESS_TERMINATE rights,
+ * then we give up immediately. */
hProc = OpenProcess(SYNCHRONIZE|PROCESS_TERMINATE, FALSE, dwPID);
if(hProc == NULL){
@@ -231,7 +231,7 @@ DWORD Terminate16App( DWORD dwPID, DWORD dwThread, WORD w16Task, DWORD dwTimeout
if( hInstLib == NULL )
return TA_FAILED ;
- // Get procedure addresses.
+ /* Get procedure addresses. */
lpfVDMTerminateTaskWOW = (BOOL (WINAPI *)(DWORD, WORD ))
GetProcAddress( hInstLib, "VDMTerminateTaskWOW" ) ;