Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sds
ssg
Commits
39dfb009
Commit
39dfb009
authored
Jun 14, 2017
by
Shane Snyder
Browse files
c++-ify internal headers too, to be safe
parent
6aa38614
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/ssg-internal.h
View file @
39dfb009
...
...
@@ -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 */
...
...
src/swim-fd/swim-fd-internal.h
View file @
39dfb009
...
...
@@ -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 */
...
...
src/swim-fd/swim-fd.h
View file @
39dfb009
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment