Skip to content

Commit bd630e0

Browse files
jeplerpetterreinholdtsen
authored andcommitted
halcmd: Make headers usable from C++
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
1 parent cd95d06 commit bd630e0

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/hal/utils/halcmd.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@
4141
#define HALCMD_H
4242
#include <stdio.h>
4343
#include "hal.h"
44+
45+
RTAPI_BEGIN_DECLS
46+
4447
extern int halcmd_startup(int quiet);
4548
extern void halcmd_shutdown();
4649
extern int halcmd_parse_cmd(char * tokens[]);
@@ -91,4 +94,6 @@ extern FILE *halcmd_inifile;
9194
#define MAX_CMD_LEN 1024
9295
#define MAX_EXPECTED_SIGS 999
9396

97+
RTAPI_END_DECLS
98+
9499
#endif

0 commit comments

Comments
 (0)