summaryrefslogtreecommitdiff
path: root/libgphoto2_port/usbdiskdirect/linux.c
diff options
context:
space:
mode:
authorSiim Meerits <sh0@yutani.ee>2020-07-27 17:37:00 +0300
committerSiim Meerits <sh0@yutani.ee>2020-07-27 17:37:00 +0300
commit456a1d598bccc260b233d2e91c469be452e0fbef (patch)
treec1288655494c94292f6e2eb26d722958899c7107 /libgphoto2_port/usbdiskdirect/linux.c
parentaf2c0e0558e78cae06371abef36f43ca74a9c5c0 (diff)
downloadlibgphoto2-456a1d598bccc260b233d2e91c469be452e0fbef.tar.gz
Remove trailing whitespace from all *.h and *.c files.
Diffstat (limited to 'libgphoto2_port/usbdiskdirect/linux.c')
-rw-r--r--libgphoto2_port/usbdiskdirect/linux.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libgphoto2_port/usbdiskdirect/linux.c b/libgphoto2_port/usbdiskdirect/linux.c
index a5de0b01a..a62cc5280 100644
--- a/libgphoto2_port/usbdiskdirect/linux.c
+++ b/libgphoto2_port/usbdiskdirect/linux.c
@@ -1,5 +1,5 @@
/* Direct IO to USB Mass storage devices port library for Linux
- *
+ *
* Copyright (c) 2010 Hans de Goede <hdegoede@redhat.com>
*
* This program is free software; you can redistribute it and/or modify
@@ -52,7 +52,7 @@
# define N_(String) gettext_noop (String)
# else
# define N_(String) (String)
-# endif
+# endif
#else
# define textdomain(String) (String)
# define gettext(String) (String)
@@ -75,7 +75,7 @@ struct _GPPortPrivateLibrary {
};
GPPortType
-gp_port_library_type ()
+gp_port_library_type ()
{
return GP_PORT_USB_DISK_DIRECT;
}
@@ -103,9 +103,9 @@ gp_port_usbdiskdirect_lock (GPPort *port, const char *path)
}
#else
# ifdef __GCC__
-# warning No locking library found.
+# warning No locking library found.
# warning You will run into problems if you use
-# warning gphoto2 with a usbdiskdirect picframe in
+# warning gphoto2 with a usbdiskdirect picframe in
# warning combination with Konqueror (KDE) or Nautilus (GNOME).
# warning This will *not* concern USB cameras.
# endif
@@ -172,7 +172,7 @@ gp_port_usbdiskdirect_resolve_symlink (const char *link)
return path;
}
-static int
+static int
gp_port_usbdiskdirect_get_usb_id (const char *disk,
unsigned short *vendor_id, unsigned short *product_id)
{