Closed nl250060 closed 1 year ago
The header has an opening extern "C" declaration but is missing the closing brace.
From 9c3e09d254c475d1299bd3047dc672358627e3ce Mon Sep 17 00:00:00 2001 From: Niall Leonard <nl250060@ncr.com> Date: Fri, 28 Jul 2023 13:10:36 +0100 Subject: [PATCH] Added missing extern C closing brace --- include/usbg/function/printer.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/usbg/function/printer.h b/include/usbg/function/printer.h index fecc17a..b556f39 100644 --- a/include/usbg/function/printer.h +++ b/include/usbg/function/printer.h @@ -48,4 +48,9 @@ union usbg_f_printer_attr_val { #define USBG_F_PRINTER_INT_TO_ATTR_VAL(WHAT) \ USBG_TO_UNION(usbg_f_printer_attr_val, qmult, WHAT) + +#ifdef __cplusplus +} +#endif + #endif /* USBG_FUNCTION_PRINTER__ */
Merged. Next time, please submit pull requests instead of patches in issues. Please also mention the commit you are fixing in the commit message, I added it manually this time.
The header has an opening extern "C" declaration but is missing the closing brace.