Misc: Ensure all sources are UTF-8

* Also remove extra lines at the end of samples
This commit is contained in:
Pete Batard 2012-05-23 18:25:01 +01:00
parent cd87b6b1f1
commit a544e5972b
22 changed files with 28 additions and 31 deletions

View file

@ -1,6 +1,6 @@
/* /*
* libusbx example program to manipulate U.are.U 4000B fingerprint scanner. * libusbx example program to manipulate U.are.U 4000B fingerprint scanner.
* Copyright © 2007 Daniel Drake <dsd@gentoo.org> * Copyright © 2007 Daniel Drake <dsd@gentoo.org>
* *
* Basic image capture program only, does not consider the powerup quirks or * Basic image capture program only, does not consider the powerup quirks or
* the fact that image encryption may be enabled. Not expected to work * the fact that image encryption may be enabled. Not expected to work
@ -504,4 +504,3 @@ out:
libusb_exit(NULL); libusb_exit(NULL);
return r >= 0 ? r : -r; return r >= 0 ? r : -r;
} }

View file

@ -1,6 +1,6 @@
/* /*
* libusbx example program to manipulate U.are.U 4000B fingerprint scanner. * libusbx example program to manipulate U.are.U 4000B fingerprint scanner.
* Copyright © 2007 Daniel Drake <dsd@gentoo.org> * Copyright © 2007 Daniel Drake <dsd@gentoo.org>
* *
* Basic image capture program only, does not consider the powerup quirks or * Basic image capture program only, does not consider the powerup quirks or
* the fact that image encryption may be enabled. Not expected to work * the fact that image encryption may be enabled. Not expected to work
@ -542,4 +542,3 @@ out:
libusb_exit(NULL); libusb_exit(NULL);
return r >= 0 ? r : -r; return r >= 0 ? r : -r;
} }

View file

@ -1,6 +1,6 @@
/* /*
* libusbx example program to list devices on the bus * libusbx example program to list devices on the bus
* Copyright © 2007 Daniel Drake <dsd@gentoo.org> * Copyright © 2007 Daniel Drake <dsd@gentoo.org>
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
@ -61,4 +61,3 @@ int main(void)
libusb_exit(NULL); libusb_exit(NULL);
return 0; return 0;
} }

View file

@ -1,6 +1,6 @@
/* /*
* xusb: Generic USB test program * xusb: Generic USB test program
* Copyright © 2009-2012 Pete Batard <pete@akeo.ie> * Copyright © 2009-2012 Pete Batard <pete@akeo.ie>
* Contributions to Mass Storage by Alan Stern. * Contributions to Mass Storage by Alan Stern.
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or

View file

@ -1,7 +1,7 @@
/* /*
* I/O functions for libusbx * I/O functions for libusbx
* Copyright © 2007-2009 Daniel Drake <dsd@gentoo.org> * Copyright © 2007-2009 Daniel Drake <dsd@gentoo.org>
* Copyright © 2001 Johannes Erdfelt <johannes@erdfelt.com> * Copyright © 2001 Johannes Erdfelt <johannes@erdfelt.com>
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public

View file

@ -1,7 +1,7 @@
/* /*
* Public libusbx header file * Public libusbx header file
* Copyright © 2007-2008 Daniel Drake <dsd@gentoo.org> * Copyright © 2007-2008 Daniel Drake <dsd@gentoo.org>
* Copyright © 2001 Johannes Erdfelt <johannes@erdfelt.com> * Copyright © 2001 Johannes Erdfelt <johannes@erdfelt.com>
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public

View file

@ -1,7 +1,7 @@
/* /*
* Internal header for libusbx * Internal header for libusbx
* Copyright © 2007-2009 Daniel Drake <dsd@gentoo.org> * Copyright © 2007-2009 Daniel Drake <dsd@gentoo.org>
* Copyright © 2001 Johannes Erdfelt <johannes@erdfelt.com> * Copyright © 2001 Johannes Erdfelt <johannes@erdfelt.com>
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public

View file

@ -1,6 +1,6 @@
/* /*
* darwin backend for libusbx 1.0 * darwin backend for libusbx 1.0
* Copyright © 2008-2011 Nathan Hjelm <hjelmn@users.sourceforge.net> * Copyright © 2008-2011 Nathan Hjelm <hjelmn@users.sourceforge.net>
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public

View file

@ -1,6 +1,6 @@
/* /*
* darwin backend for libusbx 1.0 * darwin backend for libusbx 1.0
* Copyright © 2008-2009 Nathan Hjelm <hjelmn@users.sourceforge.net> * Copyright © 2008-2009 Nathan Hjelm <hjelmn@users.sourceforge.net>
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public

View file

@ -1,7 +1,7 @@
/* /*
* Linux usbfs backend for libusbx * Linux usbfs backend for libusbx
* Copyright © 2007-2009 Daniel Drake <dsd@gentoo.org> * Copyright © 2007-2009 Daniel Drake <dsd@gentoo.org>
* Copyright © 2001 Johannes Erdfelt <johannes@erdfelt.com> * Copyright © 2001 Johannes Erdfelt <johannes@erdfelt.com>
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public

View file

@ -1,7 +1,7 @@
/* /*
* usbfs header structures * usbfs header structures
* Copyright © 2007 Daniel Drake <dsd@gentoo.org> * Copyright © 2007 Daniel Drake <dsd@gentoo.org>
* Copyright © 2001 Johannes Erdfelt <johannes@erdfelt.com> * Copyright © 2001 Johannes Erdfelt <johannes@erdfelt.com>
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public

View file

@ -1,5 +1,5 @@
/* /*
* Copyright Š 2011 Martin Pieuchot <mpi@openbsd.org> * Copyright © 2011 Martin Pieuchot <mpi@openbsd.org>
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public

View file

@ -1,6 +1,6 @@
/* /*
* poll_windows: poll compatibility wrapper for Windows * poll_windows: poll compatibility wrapper for Windows
* Copyright © 2009-2010 Pete Batard <pbatard@gmail.com> * Copyright © 2009-2010 Pete Batard <pbatard@gmail.com>
* With contributions from Michael Plante, Orin Eman et al. * With contributions from Michael Plante, Orin Eman et al.
* Parts of poll implementation from libusb-win32, by Stephan Meyer et al. * Parts of poll implementation from libusb-win32, by Stephan Meyer et al.
* *

View file

@ -1,6 +1,6 @@
/* /*
* Windows compat: POSIX compatibility wrapper * Windows compat: POSIX compatibility wrapper
* Copyright © 2009-2010 Pete Batard <pbatard@gmail.com> * Copyright © 2009-2010 Pete Batard <pbatard@gmail.com>
* With contributions from Michael Plante, Orin Eman et al. * With contributions from Michael Plante, Orin Eman et al.
* Parts of poll implementation from libusb-win32, by Stephan Meyer et al. * Parts of poll implementation from libusb-win32, by Stephan Meyer et al.
* *

View file

@ -1,8 +1,8 @@
/* /*
* libusbx synchronization using POSIX Threads * libusbx synchronization using POSIX Threads
* *
* Copyright © 2011 Vitali Lovich <vlovich@aliph.com> * Copyright © 2011 Vitali Lovich <vlovich@aliph.com>
* Copyright © 2011 Peter Stuge <peter@stuge.se> * Copyright © 2011 Peter Stuge <peter@stuge.se>
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public

View file

@ -1,7 +1,7 @@
/* /*
* libusbx synchronization using POSIX Threads * libusbx synchronization using POSIX Threads
* *
* Copyright © 2010 Peter Stuge <peter@stuge.se> * Copyright © 2010 Peter Stuge <peter@stuge.se>
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public

View file

@ -1,7 +1,7 @@
/* /*
* libusbx synchronization on Microsoft Windows * libusbx synchronization on Microsoft Windows
* *
* Copyright © 2010 Michael Plante <michael.plante@gmail.com> * Copyright © 2010 Michael Plante <michael.plante@gmail.com>
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public

View file

@ -1,7 +1,7 @@
/* /*
* libusbx synchronization on Microsoft Windows * libusbx synchronization on Microsoft Windows
* *
* Copyright © 2010 Michael Plante <michael.plante@gmail.com> * Copyright © 2010 Michael Plante <michael.plante@gmail.com>
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public

View file

@ -1,6 +1,6 @@
/* /*
* windows backend for libusbx 1.0 * windows backend for libusbx 1.0
* Copyright © 2009-2012 Pete Batard <pete@akeo.ie> * Copyright © 2009-2012 Pete Batard <pete@akeo.ie>
* With contributions from Michael Plante, Orin Eman et al. * With contributions from Michael Plante, Orin Eman et al.
* Parts of this code adapted from libusb-win32-v1 by Stephan Meyer * Parts of this code adapted from libusb-win32-v1 by Stephan Meyer
* Hash table functions adapted from glibc, by Ulrich Drepper et al. * Hash table functions adapted from glibc, by Ulrich Drepper et al.

View file

@ -1,6 +1,6 @@
/* /*
* Windows backend for libusbx 1.0 * Windows backend for libusbx 1.0
* Copyright © 2009-2012 Pete Batard <pete@akeo.ie> * Copyright © 2009-2012 Pete Batard <pete@akeo.ie>
* With contributions from Michael Plante, Orin Eman et al. * With contributions from Michael Plante, Orin Eman et al.
* Parts of this code adapted from libusb-win32-v1 by Stephan Meyer * Parts of this code adapted from libusb-win32-v1 by Stephan Meyer
* Major code testing contribution by Xiaofan Chen * Major code testing contribution by Xiaofan Chen

View file

@ -1,6 +1,6 @@
/* /*
* Synchronous I/O functions for libusbx * Synchronous I/O functions for libusbx
* Copyright © 2007-2008 Daniel Drake <dsd@gentoo.org> * Copyright © 2007-2008 Daniel Drake <dsd@gentoo.org>
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public

View file

@ -1 +1 @@
#define LIBUSB_NANO 10506 #define LIBUSB_NANO 10507