summaryrefslogtreecommitdiff
path: root/ao-tools/ao-usbtrng/ao-usbtrng.c
diff options
context:
space:
mode:
Diffstat (limited to 'ao-tools/ao-usbtrng/ao-usbtrng.c')
-rw-r--r--ao-tools/ao-usbtrng/ao-usbtrng.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ao-tools/ao-usbtrng/ao-usbtrng.c b/ao-tools/ao-usbtrng/ao-usbtrng.c
index 0362f1b4..46bdbeb2 100644
--- a/ao-tools/ao-usbtrng/ao-usbtrng.c
+++ b/ao-tools/ao-usbtrng/ao-usbtrng.c
@@ -46,7 +46,7 @@ static void usage(char *program)
exit(1);
}
-void
+static void
done(struct cc_usb *cc, int code)
{
cc_usb_close(cc);
@@ -57,7 +57,6 @@ int
main (int argc, char **argv)
{
char *device = NULL;
- char *filename;
int i;
int c;
struct cc_usb *cc = NULL;