History

ALSA: uapi: Fix a C++ style comment in asound.h

UAPI header should have no C++ style comment but only in the traditional C style comment, but there is still one place we used it mistakenly. This patch corrects it.

Takashi Iwai committed 5 years ago

Commit 5aec5791 parent b1570641 file · +1 −1Browse files

Unified · Split

include/uapi/sound/asound.h+1−1
@@ -1002,7 +1002,7 @@ typedef int __bitwise snd_ctl_elem_iface_t; · 1001 unmodified lines
10021002 #define SNDRV_CTL_ELEM_ACCESS_WRITE (1<<1)
10031003 #define SNDRV_CTL_ELEM_ACCESS_READWRITE (SNDRV_CTL_ELEM_ACCESS_READ|SNDRV_CTL_ELEM_ACCESS_WRITE)
10041004 #define SNDRV_CTL_ELEM_ACCESS_VOLATILE (1<<2) /* control value may be changed without a notification */
1005−// (1 << 3) is unused.
1005+/* (1 << 3) is unused. */
10061006 #define SNDRV_CTL_ELEM_ACCESS_TLV_READ (1<<4) /* TLV read is possible */
10071007 #define SNDRV_CTL_ELEM_ACCESS_TLV_WRITE (1<<5) /* TLV write is possible */
10081008 #define SNDRV_CTL_ELEM_ACCESS_TLV_READWRITE (SNDRV_CTL_ELEM_ACCESS_TLV_READ|SNDRV_CTL_ELEM_ACCESS_TLV_WRITE)