mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-04 02:08:49 -04:00
25 lines
751 B
Plaintext
25 lines
751 B
Plaintext
$NetBSD: patch-ai,v 1.3 2015/10/25 10:39:13 wiz Exp $
|
|
|
|
Avoid duplicate symbols in libepson and libepson2.
|
|
|
|
--- backend/epson_usb.c.orig 2015-09-20 11:55:39.000000000 +0000
|
|
+++ backend/epson_usb.c
|
|
@@ -4,7 +4,7 @@
|
|
|
|
/* generated with epson2usb.pl doc/descriptions/epson.desc */
|
|
|
|
-SANE_Word sanei_epson_usb_product_ids[] = {
|
|
+static SANE_Word sanei_epson_usb_product_ids[] = {
|
|
0x101, /* Perfection 636U */
|
|
0x103, /* Perfection 610 */
|
|
0x104, /* Perfection 1200U, Perfection 1200Photo */
|
|
@@ -45,7 +45,7 @@ SANE_Word sanei_epson_usb_product_ids[]
|
|
in the config file as "usb <vendor> <product>" */
|
|
};
|
|
|
|
-int
|
|
+static int
|
|
sanei_epson_getNumberOfUSBProductIds (void)
|
|
{
|
|
return sizeof (sanei_epson_usb_product_ids) / sizeof (SANE_Word);
|