Commit 39dfb009 authored by Shane Snyder's avatar Shane Snyder
Browse files

c++-ify internal headers too, to be safe

parent 6aa38614
......@@ -6,10 +6,6 @@
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
#include <inttypes.h>
......@@ -20,6 +16,10 @@ extern "C" {
#include "ssg.h"
#include "uthash.h"
#ifdef __cplusplus
extern "C" {
#endif
#define SSG_MAGIC_NR 17321588
/* debug printing macro for SSG */
......
......@@ -6,12 +6,12 @@
#pragma once
#include <ssg.h>
#ifdef __cplusplus
extern "C" {
#endif
#include <ssg.h>
/* SWIM protocol parameter defaults */
#define SWIM_DEF_PROTOCOL_PERIOD_LEN 2000.0 /* milliseconds */
#define SWIM_DEF_SUSPECT_TIMEOUT 5 /* protocol period lengths */
......
......@@ -6,13 +6,13 @@
#pragma once
#include "ssg.h"
#include "ssg-internal.h"
#ifdef __cplusplus
extern "C" {
#endif
#include "ssg.h"
#include "ssg-internal.h"
/* opaque swim context type */
typedef struct swim_context swim_context_t;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment