diff options
author | Hans Ulrich Niedermann <gp@n-dimensional.de> | 2005-02-12 22:24:31 +0000 |
---|---|---|
committer | Hans Ulrich Niedermann <gp@n-dimensional.de> | 2005-02-12 22:24:31 +0000 |
commit | 889b1a1c469c2a18654dfa9da8522e28bd44c912 (patch) | |
tree | 9f21c3812fb394b943e3c7183a632dafe11851ac /packaging/linux-hotplug | |
parent | 66a200cad59112d31e5fc525703eaeec63ca1683 (diff) | |
download | libgphoto2-889b1a1c469c2a18654dfa9da8522e28bd44c912.tar.gz |
remove definition redundancy in print-usb-usermap.c
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7595 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'packaging/linux-hotplug')
-rw-r--r-- | packaging/linux-hotplug/print-usb-usermap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packaging/linux-hotplug/print-usb-usermap.c b/packaging/linux-hotplug/print-usb-usermap.c index 0631a25ec..246807681 100644 --- a/packaging/linux-hotplug/print-usb-usermap.c +++ b/packaging/linux-hotplug/print-usb-usermap.c @@ -20,6 +20,8 @@ * Boston, MA 02111-1307, USA. */ +#define GP_USB_HOTPLUG_SCRIPT "usbcam" + #define HELP_TEXT \ "print-usb-usermap - print usb.usermap file for linux-hotplug\n" \ "\n" \ @@ -34,7 +36,7 @@ "program aborts regardless of data printed on stdout and returns a non-zero\n" \ "status code.\n" \ "If no <scriptname> is given, print-usb-usermap uses the script name\n" \ -"\"usbcam\"." +"\"" GP_USB_HOTPLUG_SCRIPT "\"." #include <stdio.h> #include <sys/time.h> @@ -51,8 +53,6 @@ #define FALSE (0!=0) #endif -#define GP_USB_HOTPLUG_SCRIPT "usbcam" - #define GP_USB_HOTPLUG_MATCH_VENDOR_ID 0x0001 #define GP_USB_HOTPLUG_MATCH_PRODUCT_ID 0x0002 |