]> git.proxmox.com Git - mirror_frr.git/blobdiff - lib/checksum.h
lib: add extern "C" {} blocks to all libfrr headers
[mirror_frr.git] / lib / checksum.h
index c2764e35fbd8f8822008e0c4f063730f56f85210..7d5037143975e4882a177c5beef846e7352b9893 100644 (file)
@@ -1,4 +1,12 @@
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 extern int in_cksum(void *, int);
 #define FLETCHER_CHECKSUM_VALIDATE 0xffff
 extern uint16_t fletcher_checksum(uint8_t *, const size_t len,
                                  const uint16_t offset);
+
+#ifdef __cplusplus
+}
+#endif