From 1b54d109d2db28494384ab8cb71e57d3ac96022d Mon Sep 17 00:00:00 2001 From: "timeless%mozdev.org" Date: Fri, 23 May 2003 22:18:18 +0000 Subject: [PATCH] Bug 205608 Warning: C++ style comments are not allowed in ISO C89 r=jst sr=jst git-svn-id: svn://10.0.0.236/trunk@142860 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/netwerk/dns/src/nsIDNKitInterface.h | 2 +- mozilla/tools/codesighs/nm2tsv.c | 2 +- mozilla/xpcom/threads/plevent.c | 7 ++++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/mozilla/netwerk/dns/src/nsIDNKitInterface.h b/mozilla/netwerk/dns/src/nsIDNKitInterface.h index 93f140810ca..a65ca7ef874 100644 --- a/mozilla/netwerk/dns/src/nsIDNKitInterface.h +++ b/mozilla/netwerk/dns/src/nsIDNKitInterface.h @@ -189,4 +189,4 @@ idn_nameprep_isvalidbidi(idn_nameprep_t handle, const unsigned long *str, } #endif /* __cplusplus */ -#endif //nsIDNKitWrapper_h__ +#endif /* nsIDNKitWrapper_h__ */ diff --git a/mozilla/tools/codesighs/nm2tsv.c b/mozilla/tools/codesighs/nm2tsv.c index 324d1619fa2..5bd3d94cfa2 100644 --- a/mozilla/tools/codesighs/nm2tsv.c +++ b/mozilla/tools/codesighs/nm2tsv.c @@ -143,7 +143,7 @@ int nm2tsv(Options* inOptions) */ { int retval = 0; - char lineBuffer[4096]; // yes, the are some very large symbols + char lineBuffer[4096]; /* yes, the are some very large symbols */ char* module = NULL; char* size = NULL; char* type = NULL; diff --git a/mozilla/xpcom/threads/plevent.c b/mozilla/xpcom/threads/plevent.c index e22d5da2724..1852ac2d2d5 100644 --- a/mozilla/xpcom/threads/plevent.c +++ b/mozilla/xpcom/threads/plevent.c @@ -915,9 +915,10 @@ _pl_CleanupNativeNotifier(PLEventQueue* self) } RemoveProp(self->eventReceiverWindow, _md_GetEventQueuePropName()); - // DestroyWindow doesn't do anything when called from a non ui thread. Since - // self->eventReceiverWindow was created on the ui thread, it must be destroyed - // on the ui thread. + /* DestroyWindow doesn't do anything when called from a non ui thread. Since + * self->eventReceiverWindow was created on the ui thread, it must be destroyed + * on the ui thread. + */ SendMessage(self->eventReceiverWindow, WM_CLOSE, 0, 0); #elif defined(XP_OS2)