You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
357 B

  1. --- a/src/libudev.h
  2. +++ b/src/libudev.h
  3. @@ -7,6 +7,11 @@
  4. extern "C" {
  5. #endif
  6. +
  7. +#ifdef __cplusplus
  8. +extern "C" {
  9. +#endif
  10. +
  11. struct udev;
  12. struct udev_device;
  13. struct udev_list_entry;
  14. @@ -76,6 +81,10 @@ void udev_monitor_unref(struct udev_moni
  15. #ifdef __cplusplus
  16. } /* extern "C" */
  17. +#endif
  18. +
  19. +#ifdef __cplusplus
  20. +} /* extern "C" */
  21. #endif
  22. #endif