Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(79)

Side by Side Diff: third_party/libusb/src/examples/lsusb.c

Issue 10332075: Adding use_system_libusb option for third_party/libusb (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review changes. Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW
« no previous file with comments | « third_party/libusb/src/examples/dpfp_threaded.c ('k') | third_party/libusb/src/libusb-1.0.pc.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698