diff options
author | Ludovic Rousseau <rousseau@debian.org> | 2009-10-25 10:06:41 +0100 |
---|---|---|
committer | Daniel Drake <dan@reactivated.net> | 2009-11-21 17:12:17 +0000 |
commit | 8392ff22136fccaf1e15d186157609b8dd127bc5 (patch) | |
tree | 270bd5dccc364f8fb6779ff4e54ca02ad588a7c7 /examples | |
parent | 9cc6bfaa15239bb6db1c1570b9beb6df2f848951 (diff) | |
download | libusb-8392ff22136fccaf1e15d186157609b8dd127bc5.tar.gz |
lsusb example: make print_devs() static
lsusb.c:26: warning: no previous prototype for ‘print_devs’
Diffstat (limited to 'examples')
-rw-r--r-- | examples/lsusb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/lsusb.c b/examples/lsusb.c index 7e9f48e..317adf0 100644 --- a/examples/lsusb.c +++ b/examples/lsusb.c @@ -22,7 +22,7 @@ #include <libusb/libusb.h> -void print_devs(libusb_device **devs) +static void print_devs(libusb_device **devs) { libusb_device *dev; int i = 0; |