[Lldb-commits] [lldb] r169202 - /lldb/trunk/tools/debugserver/source/DNB.h
Greg Clayton
gclayton at apple.com
Mon Dec 3 17:57:36 PST 2012
Author: gclayton
Date: Mon Dec 3 19:57:36 2012
New Revision: 169202
URL: http://llvm.org/viewvc/llvm-project?rev=169202&view=rev
Log:
Get rid of a warning where functions in DNB.h were extern "C" when they don't need to be anymore.
Modified:
lldb/trunk/tools/debugserver/source/DNB.h
Modified: lldb/trunk/tools/debugserver/source/DNB.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/debugserver/source/DNB.h?rev=169202&r1=169201&r2=169202&view=diff
==============================================================================
--- lldb/trunk/tools/debugserver/source/DNB.h (original)
+++ lldb/trunk/tools/debugserver/source/DNB.h Mon Dec 3 19:57:36 2012
@@ -17,10 +17,6 @@
#include "DNBDefs.h"
#include <mach/thread_info.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
-
#define DNB_EXPORT __attribute__((visibility("default")))
typedef bool (*DNBShouldCancelCallback) (void *);
@@ -160,8 +156,4 @@
const char * DNBStateAsString (nub_state_t state) DNB_EXPORT;
nub_bool_t DNBResolveExecutablePath (const char *path, char *resolved_path, size_t resolved_path_size) DNB_EXPORT;
-#ifdef __cplusplus
-}
-#endif
-
#endif
More information about the lldb-commits
mailing list