| OLD | NEW |
| 1 /* | 1 /* |
| 2 * libusb example program to list devices on the bus | 2 * libusb example program to list devices on the bus |
| 3 * Copyright (C) 2007 Daniel Drake <dsd@gentoo.org> | 3 * Copyright (C) 2007 Daniel Drake <dsd@gentoo.org> |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Lesser General Public | 6 * modify it under the terms of the GNU Lesser General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2.1 of the License, or (at your option) any later version. | 8 * version 2.1 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 if (cnt < 0) | 55 if (cnt < 0) |
| 56 return (int) cnt; | 56 return (int) cnt; |
| 57 | 57 |
| 58 print_devs(devs); | 58 print_devs(devs); |
| 59 libusb_free_device_list(devs, 1); | 59 libusb_free_device_list(devs, 1); |
| 60 | 60 |
| 61 libusb_exit(NULL); | 61 libusb_exit(NULL); |
| 62 return 0; | 62 return 0; |
| 63 } | 63 } |
| 64 | 64 |
| OLD | NEW |