]> git.ipfire.org Git - thirdparty/cups-filters.git/commitdiff
serial backend: unbreak build on BSD (#548)
authorAntoine Jacoutot <ajacoutot@bsdfrog.org>
Fri, 2 Aug 2024 20:29:28 +0000 (22:29 +0200)
committerGitHub <noreply@github.com>
Fri, 2 Aug 2024 20:29:28 +0000 (22:29 +0200)
The comments aren't properly protected leading to the following error:
backend/serial.c:822:16: error: expected ';' after expression
                                         * devices

backend/serial.c

index 1c3623d3d07c12d609e1b2409da76678d6eaafb3..585e98d5c81fd8e8e935dd6a9cfc35124f115695 100644 (file)
@@ -818,8 +818,8 @@ list_devices(void)
 {
 #if defined(__sun) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) || defined(__FreeBSD_kernel__)
   static char  *funky_hex = "0123456789abcdefghijklmnopqrstuvwxyz";
-                                       // Funky hex numbering used for some *
-                                        * devices                          
+                                       /* Funky hex numbering used for some *
+                                        * devices                           */
 #endif // __sun || __FreeBSD__ || __OpenBSD__ || __FreeBSD_kernel__