From c3c734c1591671d2921fcf5c68d0cc55ebb6cd54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Higor=20Eur=C3=ADpedes?= Date: Tue, 20 Jan 2015 20:32:47 -0300 Subject: [PATCH] linuxraw_joypad.c - Use C89 comments --- input/drivers_joypad/linuxraw_joypad.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/input/drivers_joypad/linuxraw_joypad.c b/input/drivers_joypad/linuxraw_joypad.c index da7b08bf77..b83f9b424b 100644 --- a/input/drivers_joypad/linuxraw_joypad.c +++ b/input/drivers_joypad/linuxraw_joypad.c @@ -78,8 +78,8 @@ static bool linuxraw_joypad_init_pad(const char *path, struct linuxraw_joypad *p if (pad->fd >= 0) return false; - // Device can have just been created, but not made accessible (yet). - // IN_ATTRIB will signal when permissions change. + /* Device can have just been created, but not made accessible (yet). + IN_ATTRIB will signal when permissions change. */ if (access(path, R_OK) < 0) return false; @@ -168,7 +168,7 @@ static void handle_plugged_pad(void) input_config_autoconfigure_joypad(idx, NULL, 0, 0, NULL); } } - // Sometimes, device will be created before acess to it is established. + /* Sometimes, device will be created before acess to it is established. */ else if (event->mask & (IN_CREATE | IN_ATTRIB)) { bool ret;