X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=ao-tools%2Fao-usbtrng%2Fao-usbtrng.c;fp=ao-tools%2Fao-usbtrng%2Fao-usbtrng.c;h=46bdbeb23edd61b21a711d2e2dc0948977056e6b;hp=0362f1b46af98560dc220181e36afa64392b9f3d;hb=6f729ff46b2f4531db68f0af85e7e9fe0f6d1969;hpb=f14c799ae7ff3be56c28f5694f04c03daff7708e 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;