Skip to content

Commit

Permalink
serial backend: unbreak build on BSD (#548)
Browse files Browse the repository at this point in the history
The comments aren't properly protected leading to the following error:
backend/serial.c:822:16: error: expected ';' after expression
                                         * devices
  • Loading branch information
ajacoutot authored Aug 2, 2024
1 parent bb11fc2 commit edc5998
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -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__


Expand Down

0 comments on commit edc5998

Please sign in to comment.