From a544e5972bf2b0ac9e006439576f681a8439d311 Mon Sep 17 00:00:00 2001 From: Pete Batard Date: Wed, 23 May 2012 18:25:01 +0100 Subject: Misc: Ensure all sources are UTF-8 * Also remove extra lines at the end of samples --- examples/dpfp.c | 3 +-- examples/dpfp_threaded.c | 3 +-- examples/listdevs.c | 3 +-- examples/xusb.c | 2 +- libusb/io.c | 4 ++-- libusb/libusb.h | 4 ++-- libusb/libusbi.h | 4 ++-- libusb/os/darwin_usb.c | 2 +- libusb/os/darwin_usb.h | 2 +- libusb/os/linux_usbfs.c | 4 ++-- libusb/os/linux_usbfs.h | 4 ++-- libusb/os/openbsd_usb.c | 2 +- libusb/os/poll_windows.c | 2 +- libusb/os/poll_windows.h | 2 +- libusb/os/threads_posix.c | 4 ++-- libusb/os/threads_posix.h | 2 +- libusb/os/threads_windows.c | 2 +- libusb/os/threads_windows.h | 2 +- libusb/os/windows_usb.c | 2 +- libusb/os/windows_usb.h | 2 +- libusb/sync.c | 2 +- libusb/version_nano.h | 2 +- 22 files changed, 28 insertions(+), 31 deletions(-) diff --git a/examples/dpfp.c b/examples/dpfp.c index 55daff8..c7d6347 100644 --- a/examples/dpfp.c +++ b/examples/dpfp.c @@ -1,6 +1,6 @@ /* * libusbx example program to manipulate U.are.U 4000B fingerprint scanner. - * Copyright © 2007 Daniel Drake + * Copyright © 2007 Daniel Drake * * Basic image capture program only, does not consider the powerup quirks or * the fact that image encryption may be enabled. Not expected to work @@ -504,4 +504,3 @@ out: libusb_exit(NULL); return r >= 0 ? r : -r; } - diff --git a/examples/dpfp_threaded.c b/examples/dpfp_threaded.c index a0557c2..e1df6ee 100644 --- a/examples/dpfp_threaded.c +++ b/examples/dpfp_threaded.c @@ -1,6 +1,6 @@ /* * libusbx example program to manipulate U.are.U 4000B fingerprint scanner. - * Copyright © 2007 Daniel Drake + * Copyright © 2007 Daniel Drake * * Basic image capture program only, does not consider the powerup quirks or * the fact that image encryption may be enabled. Not expected to work @@ -542,4 +542,3 @@ out: libusb_exit(NULL); return r >= 0 ? r : -r; } - diff --git a/examples/listdevs.c b/examples/listdevs.c index df30224..f47e87c 100644 --- a/examples/listdevs.c +++ b/examples/listdevs.c @@ -1,6 +1,6 @@ /* * libusbx example program to list devices on the bus - * Copyright © 2007 Daniel Drake + * Copyright © 2007 Daniel Drake * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -61,4 +61,3 @@ int main(void) libusb_exit(NULL); return 0; } - diff --git a/examples/xusb.c b/examples/xusb.c index 2c0409f..65dda7b 100644 --- a/examples/xusb.c +++ b/examples/xusb.c @@ -1,6 +1,6 @@ /* * xusb: Generic USB test program - * Copyright © 2009-2012 Pete Batard + * Copyright © 2009-2012 Pete Batard * Contributions to Mass Storage by Alan Stern. * * This library is free software; you can redistribute it and/or diff --git a/libusb/io.c b/libusb/io.c index ab32e70..e81ca8b 100644 --- a/libusb/io.c +++ b/libusb/io.c @@ -1,7 +1,7 @@ /* * I/O functions for libusbx - * Copyright © 2007-2009 Daniel Drake - * Copyright © 2001 Johannes Erdfelt + * Copyright © 2007-2009 Daniel Drake + * Copyright © 2001 Johannes Erdfelt * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/libusb/libusb.h b/libusb/libusb.h index 3e91275..e9690fc 100644 --- a/libusb/libusb.h +++ b/libusb/libusb.h @@ -1,7 +1,7 @@ /* * Public libusbx header file - * Copyright © 2007-2008 Daniel Drake - * Copyright © 2001 Johannes Erdfelt + * Copyright © 2007-2008 Daniel Drake + * Copyright © 2001 Johannes Erdfelt * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/libusb/libusbi.h b/libusb/libusbi.h index b8abab5..68ccfe1 100644 --- a/libusb/libusbi.h +++ b/libusb/libusbi.h @@ -1,7 +1,7 @@ /* * Internal header for libusbx - * Copyright © 2007-2009 Daniel Drake - * Copyright © 2001 Johannes Erdfelt + * Copyright © 2007-2009 Daniel Drake + * Copyright © 2001 Johannes Erdfelt * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/libusb/os/darwin_usb.c b/libusb/os/darwin_usb.c index e6e514e..0f6babe 100644 --- a/libusb/os/darwin_usb.c +++ b/libusb/os/darwin_usb.c @@ -1,6 +1,6 @@ /* * darwin backend for libusbx 1.0 - * Copyright © 2008-2011 Nathan Hjelm + * Copyright © 2008-2011 Nathan Hjelm * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/libusb/os/darwin_usb.h b/libusb/os/darwin_usb.h index 1746989..7f64514 100644 --- a/libusb/os/darwin_usb.h +++ b/libusb/os/darwin_usb.h @@ -1,6 +1,6 @@ /* * darwin backend for libusbx 1.0 - * Copyright © 2008-2009 Nathan Hjelm + * Copyright © 2008-2009 Nathan Hjelm * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/libusb/os/linux_usbfs.c b/libusb/os/linux_usbfs.c index a6114ca..a843289 100644 --- a/libusb/os/linux_usbfs.c +++ b/libusb/os/linux_usbfs.c @@ -1,7 +1,7 @@ /* * Linux usbfs backend for libusbx - * Copyright © 2007-2009 Daniel Drake - * Copyright © 2001 Johannes Erdfelt + * Copyright © 2007-2009 Daniel Drake + * Copyright © 2001 Johannes Erdfelt * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/libusb/os/linux_usbfs.h b/libusb/os/linux_usbfs.h index 326f372..3a80261 100644 --- a/libusb/os/linux_usbfs.h +++ b/libusb/os/linux_usbfs.h @@ -1,7 +1,7 @@ /* * usbfs header structures - * Copyright © 2007 Daniel Drake - * Copyright © 2001 Johannes Erdfelt + * Copyright © 2007 Daniel Drake + * Copyright © 2001 Johannes Erdfelt * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/libusb/os/openbsd_usb.c b/libusb/os/openbsd_usb.c index 9f909aa..88e2c7a 100644 --- a/libusb/os/openbsd_usb.c +++ b/libusb/os/openbsd_usb.c @@ -1,5 +1,5 @@ /* - * Copyright © 2011 Martin Pieuchot + * Copyright © 2011 Martin Pieuchot * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/libusb/os/poll_windows.c b/libusb/os/poll_windows.c index 6bb8cd6..e7bd8c5 100644 --- a/libusb/os/poll_windows.c +++ b/libusb/os/poll_windows.c @@ -1,6 +1,6 @@ /* * poll_windows: poll compatibility wrapper for Windows - * Copyright © 2009-2010 Pete Batard + * Copyright © 2009-2010 Pete Batard * With contributions from Michael Plante, Orin Eman et al. * Parts of poll implementation from libusb-win32, by Stephan Meyer et al. * diff --git a/libusb/os/poll_windows.h b/libusb/os/poll_windows.h index 570f67d..e53af2d 100644 --- a/libusb/os/poll_windows.h +++ b/libusb/os/poll_windows.h @@ -1,6 +1,6 @@ /* * Windows compat: POSIX compatibility wrapper - * Copyright © 2009-2010 Pete Batard + * Copyright © 2009-2010 Pete Batard * With contributions from Michael Plante, Orin Eman et al. * Parts of poll implementation from libusb-win32, by Stephan Meyer et al. * diff --git a/libusb/os/threads_posix.c b/libusb/os/threads_posix.c index e18e69b..dc182b7 100644 --- a/libusb/os/threads_posix.c +++ b/libusb/os/threads_posix.c @@ -1,8 +1,8 @@ /* * libusbx synchronization using POSIX Threads * - * Copyright © 2011 Vitali Lovich - * Copyright © 2011 Peter Stuge + * Copyright © 2011 Vitali Lovich + * Copyright © 2011 Peter Stuge * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/libusb/os/threads_posix.h b/libusb/os/threads_posix.h index 5f66b6a..0b6a71a 100644 --- a/libusb/os/threads_posix.h +++ b/libusb/os/threads_posix.h @@ -1,7 +1,7 @@ /* * libusbx synchronization using POSIX Threads * - * Copyright © 2010 Peter Stuge + * Copyright © 2010 Peter Stuge * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/libusb/os/threads_windows.c b/libusb/os/threads_windows.c index aceca36..4acfff6 100644 --- a/libusb/os/threads_windows.c +++ b/libusb/os/threads_windows.c @@ -1,7 +1,7 @@ /* * libusbx synchronization on Microsoft Windows * - * Copyright © 2010 Michael Plante + * Copyright © 2010 Michael Plante * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/libusb/os/threads_windows.h b/libusb/os/threads_windows.h index 3dbae02..df8a0ee 100644 --- a/libusb/os/threads_windows.h +++ b/libusb/os/threads_windows.h @@ -1,7 +1,7 @@ /* * libusbx synchronization on Microsoft Windows * - * Copyright © 2010 Michael Plante + * Copyright © 2010 Michael Plante * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/libusb/os/windows_usb.c b/libusb/os/windows_usb.c index 46f0730..62e41e8 100644 --- a/libusb/os/windows_usb.c +++ b/libusb/os/windows_usb.c @@ -1,6 +1,6 @@ /* * windows backend for libusbx 1.0 - * Copyright © 2009-2012 Pete Batard + * Copyright © 2009-2012 Pete Batard * With contributions from Michael Plante, Orin Eman et al. * Parts of this code adapted from libusb-win32-v1 by Stephan Meyer * Hash table functions adapted from glibc, by Ulrich Drepper et al. diff --git a/libusb/os/windows_usb.h b/libusb/os/windows_usb.h index c07e56a..4497efa 100644 --- a/libusb/os/windows_usb.h +++ b/libusb/os/windows_usb.h @@ -1,6 +1,6 @@ /* * Windows backend for libusbx 1.0 - * Copyright © 2009-2012 Pete Batard + * Copyright © 2009-2012 Pete Batard * With contributions from Michael Plante, Orin Eman et al. * Parts of this code adapted from libusb-win32-v1 by Stephan Meyer * Major code testing contribution by Xiaofan Chen diff --git a/libusb/sync.c b/libusb/sync.c index 6bdc3e1..9defc14 100644 --- a/libusb/sync.c +++ b/libusb/sync.c @@ -1,6 +1,6 @@ /* * Synchronous I/O functions for libusbx - * Copyright © 2007-2008 Daniel Drake + * Copyright © 2007-2008 Daniel Drake * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/libusb/version_nano.h b/libusb/version_nano.h index 5594f40..f1695b2 100644 --- a/libusb/version_nano.h +++ b/libusb/version_nano.h @@ -1 +1 @@ -#define LIBUSB_NANO 10506 +#define LIBUSB_NANO 10507 -- cgit v1.2.3