int (*transfer) (WD_TRANSFER *tr, int fd, unsigned int request, int ppbase, int ecpbase, int num);
};
-struct parport_config *config_get(int num);
-unsigned char config_is_real_pport(int num);
-unsigned short config_usb_vid(int num);
-unsigned short config_usb_pid(int num);
+struct parport_config __attribute__ ((visibility ("hidden"))) *config_get(int num);
+unsigned char __attribute__ ((visibility ("hidden"))) config_is_real_pport(int num);
+unsigned short __attribute__ ((visibility ("hidden"))) config_usb_vid(int num);
+unsigned short __attribute__ ((visibility ("hidden"))) config_usb_pid(int num);
#define JTAGKEY_VREF 0x20
#define JTAGKEY_OEn 0x10
-int jtagkey_transfer(WD_TRANSFER *tr, int fd, unsigned int request, int ppbase, int ecpbase, int num);
-int jtagkey_open(int num);
-void jtagkey_close(int handle);
+int __attribute__ ((visibility ("hidden"))) jtagkey_transfer(WD_TRANSFER *tr, int fd, unsigned int request, int ppbase, int ecpbase, int num);
+int __attribute__ ((visibility ("hidden"))) jtagkey_open(int num);
+void __attribute__ ((visibility ("hidden"))) jtagkey_close(int handle);
-void jtagmon(unsigned char tck, unsigned char tms, unsigned char tdi);
+void __attribute__ ((visibility ("hidden"))) jtagmon(unsigned char tck, unsigned char tms, unsigned char tdi);
-int parport_transfer(WD_TRANSFER *tr, int fd, unsigned int request, int ppbase, int ecpbase, int num);
-int parport_open(int num);
-void parport_close(int handle);
+int __attribute__ ((visibility ("hidden"))) parport_transfer(WD_TRANSFER *tr, int fd, unsigned int request, int ppbase, int ecpbase, int num);
+int __attribute__ ((visibility ("hidden"))) parport_open(int num);
+void __attribute__ ((visibility ("hidden"))) parport_close(int handle);
#define DPRINTF(format, args...)
#endif
-void hexdump(unsigned char *buf, int len);
+void __attribute__ ((visibility ("hidden"))) hexdump(unsigned char *buf, int len);
#define WDU_GET_MAX_PACKET_SIZE(x) ((unsigned short) (((x) & 0x7ff) * (1 + (((x) & 0x1800) >> 11))))