[Pcsclite-cvs-commit] r2735 - in /trunk/PCSC/src: hotplug_libusb.c hotplug_linux.c
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Tue Jan 15 13:20:37 UTC 2008
Author: rousseau
Date: Tue Jan 15 13:20:37 2008
New Revision: 2735
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=2735
Log:
declare local functions as static
Modified:
trunk/PCSC/src/hotplug_libusb.c
trunk/PCSC/src/hotplug_linux.c
Modified: trunk/PCSC/src/hotplug_libusb.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/hotplug_libusb.c?rev=2735&op=diff
==============================================================================
--- trunk/PCSC/src/hotplug_libusb.c (original)
+++ trunk/PCSC/src/hotplug_libusb.c Tue Jan 15 13:20:37 2008
@@ -87,14 +87,14 @@
char *fullName; /* full reader name (including serial number) */
} readerTracker[PCSCLITE_MAX_READERS_CONTEXTS];
-LONG HPReadBundleValues(void);
-LONG HPAddHotPluggable(struct usb_device *dev, const char bus_device[],
+static LONG HPReadBundleValues(void);
+static LONG HPAddHotPluggable(struct usb_device *dev, const char bus_device[],
struct _driverTracker *driver);
-LONG HPRemoveHotPluggable(int reader_index);
+static LONG HPRemoveHotPluggable(int reader_index);
static void HPRescanUsbBus(void);
static void HPEstablishUSBNotifications(void);
-LONG HPReadBundleValues(void)
+static LONG HPReadBundleValues(void)
{
LONG rv;
DIR *hpDir;
@@ -467,7 +467,7 @@
return 0;
}
-LONG HPAddHotPluggable(struct usb_device *dev, const char bus_device[],
+static LONG HPAddHotPluggable(struct usb_device *dev, const char bus_device[],
struct _driverTracker *driver)
{
int i;
@@ -530,7 +530,7 @@
return 1;
} /* End of function */
-LONG HPRemoveHotPluggable(int reader_index)
+static LONG HPRemoveHotPluggable(int reader_index)
{
SYS_MutexLock(&usbNotifierMutex);
Modified: trunk/PCSC/src/hotplug_linux.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/hotplug_linux.c?rev=2735&op=diff
==============================================================================
--- trunk/PCSC/src/hotplug_linux.c (original)
+++ trunk/PCSC/src/hotplug_linux.c Tue Jan 15 13:20:37 2008
@@ -65,9 +65,9 @@
}
__attribute__ ((packed));
-LONG HPAddHotPluggable(int, unsigned long);
-LONG HPRemoveHotPluggable(int, unsigned long);
-LONG HPReadBundleValues(void);
+static LONG HPAddHotPluggable(int, unsigned long);
+static LONG HPRemoveHotPluggable(int, unsigned long);
+static LONG HPReadBundleValues(void);
static PCSCLITE_THREAD_T usbNotifyThread;
static int AraKiriHotPlug = FALSE;
@@ -93,7 +93,7 @@
}
bundleTracker[PCSCLITE_MAX_READERS_CONTEXTS];
-LONG HPReadBundleValues(void)
+static LONG HPReadBundleValues(void)
{
LONG rv;
@@ -401,7 +401,7 @@
return 0;
}
-LONG HPAddHotPluggable(int i, unsigned long usbAddr)
+static LONG HPAddHotPluggable(int i, unsigned long usbAddr)
{
/* NOTE: The deviceName is an empty string "" until someone implements
* the code to get it */
@@ -411,7 +411,7 @@
return 1;
} /* End of function */
-LONG HPRemoveHotPluggable(int i, unsigned long usbAddr)
+static LONG HPRemoveHotPluggable(int i, unsigned long usbAddr)
{
RFRemoveReader(bundleTracker[i].readerName, PCSCLITE_HP_BASE_PORT + usbAddr);
More information about the Pcsclite-cvs-commit
mailing list