[prev in list] [next in list] [prev in thread] [next in thread]
List: libusb-devel
Subject: [Libusb-devel] [PATCH 1/2] trailing whitespaces
From: Pete Batard <pbatard () gmail ! com>
Date: 2010-07-29 23:33:52
Message-ID: 4C520FE0.4070908 () gmail ! com
[Download RAW message or body]
A couple of very small patches to bridge the gap between my branch and
official. This one's a no brainer for trailing whitespaces.
Regards,
/Pete
["0001-removed-trailing-whitespaces.patch" (text/plain)]
>From fa4a9731d3b6c75e63a77e20b0d78f4545a6e20e Mon Sep 17 00:00:00 2001
From: Pete Batard <pbatard@gmail.com>
Date: Fri, 30 Jul 2010 00:23:05 +0100
Subject: [PATCH 1/2] removed trailing whitespaces
---
configure.ac | 2 +-
examples/dpfp_threaded.c | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/configure.ac b/configure.ac
index 122ffca..3c959e4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -28,7 +28,7 @@ case $host in
*-linux*)
AC_DEFINE(OS_LINUX, [], [Linux backend])
AC_SUBST(OS_LINUX)
- AC_DEFINE([THREADS_POSIX], [], [Use Posix Threads])
+ AC_DEFINE([THREADS_POSIX], [], [Use Posix Threads])
AC_MSG_RESULT([Linux])
backend="linux"
AC_CHECK_LIB(rt, clock_gettime)
diff --git a/examples/dpfp_threaded.c b/examples/dpfp_threaded.c
index 59540e3..c6a0a60 100644
--- a/examples/dpfp_threaded.c
+++ b/examples/dpfp_threaded.c
@@ -198,7 +198,7 @@ static int set_mode_async(unsigned char data)
if (!buf)
return -ENOMEM;
-
+
transfer = libusb_alloc_transfer(0);
if (!transfer) {
free(buf);
@@ -237,7 +237,7 @@ static int do_sync_intr(unsigned char *data)
}
static int sync_intr(unsigned char type)
-{
+{
int r;
unsigned char data[INTR_LENGTH];
@@ -423,7 +423,7 @@ static int alloc_transfers(void)
img_transfer = libusb_alloc_transfer(0);
if (!img_transfer)
return -ENOMEM;
-
+
irq_transfer = libusb_alloc_transfer(0);
if (!irq_transfer)
return -ENOMEM;
--
1.7.1.msysgit.0
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Libusb-devel mailing list
Libusb-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusb-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic