projects
/
platform
/
upstream
/
libusb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cc6bfa
)
lsusb example: make print_devs() static
author
Ludovic Rousseau
<rousseau@debian.org>
Sun, 25 Oct 2009 09:06:41 +0000
(10:06 +0100)
committer
Daniel Drake
<dan@reactivated.net>
Sat, 21 Nov 2009 17:12:17 +0000
(17:12 +0000)
lsusb.c:26: warning: no previous prototype for ‘print_devs’
examples/lsusb.c
patch
|
blob
|
history
diff --git
a/examples/lsusb.c
b/examples/lsusb.c
index
7e9f48e
..
317adf0
100644
(file)
--- 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;