diff options
author | ncteisen <ncteisen@gmail.com> | 2017-11-16 15:35:45 -0800 |
---|---|---|
committer | ncteisen <ncteisen@gmail.com> | 2017-11-17 14:08:57 -0800 |
commit | adbfbd5977104987bee9f946f691683b756305e8 (patch) | |
tree | e35bcf97ddf6864de5beea7bb903552d4fdd5592 /src/core/lib/support/mpscq.h | |
parent | 90c8cf6acc698ddef1d2da3b205ad8d0014b52fa (diff) |
Remove all extern C
Diffstat (limited to 'src/core/lib/support/mpscq.h')
-rw-r--r-- | src/core/lib/support/mpscq.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/core/lib/support/mpscq.h b/src/core/lib/support/mpscq.h index fb22742050..743a62b325 100644 --- a/src/core/lib/support/mpscq.h +++ b/src/core/lib/support/mpscq.h @@ -24,9 +24,7 @@ #include <stdbool.h> #include <stddef.h> -#ifdef __cplusplus -extern "C" { -#endif + // Multiple-producer single-consumer lock free queue, based upon the // implementation from Dmitry Vyukov here: @@ -84,8 +82,6 @@ gpr_mpscq_node* gpr_locked_mpscq_try_pop(gpr_locked_mpscq* q); // Pop a node. Returns NULL only if the queue was empty at some point after // calling this function gpr_mpscq_node* gpr_locked_mpscq_pop(gpr_locked_mpscq* q); -#ifdef __cplusplus -} -#endif + #endif /* GRPC_CORE_LIB_SUPPORT_MPSCQ_H */ |