]> git.proxmox.com Git - mirror_frr.git/blobdiff - lib/memory_vty.h
Zebra: Data structures for RMAC processing in FPM
[mirror_frr.git] / lib / memory_vty.h
index a47c5d51b8517da599396e1363cbe5ec0652f3bb..941255be1d1ed26a67179c8214560b41b2d74310 100644 (file)
 
 #include "memory.h"
 
-extern void memory_init (void);
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+extern void memory_init(void);
 
 /* Human friendly string for given byte count */
 #define MTYPE_MEMSTR_LEN 20
-extern const char *mtype_memstr (char *, size_t, unsigned long);
+extern const char *mtype_memstr(char *, size_t, unsigned long);
+
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* _ZEBRA_MEMORY_VTY_H */