aboutsummaryrefslogtreecommitdiff
path: root/include/libtio/native.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libtio/native.h')
-rw-r--r--include/libtio/native.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/libtio/native.h b/include/libtio/native.h
index 84aae12..0b7e899 100644
--- a/include/libtio/native.h
+++ b/include/libtio/native.h
@@ -10,7 +10,7 @@ TIO_BEGIN_DECLS
# if !defined(LIBTIO_DISABLED_UNIX)
-TIO_EXTERN int TIO_EXPORT tio_open_unix_fd
+TIO_EXTERN(int) tio_open_unix_fd
OF((tio_stream_t **tio__streamp, int tio__fd, int tio__close));
# endif
@@ -20,9 +20,9 @@ TIO_EXTERN int TIO_EXPORT tio_open_unix_fd
# ifndef LIBTIO_DISABLED_LIBUSB
# include <libusb.h>
-TIO_EXTERN int TIO_EXPORT tio_open_libusb
+TIO_EXTERN(int) tio_open_libusb
OF((tio_stream_t **streamp, int bus, int addr));
-TIO_EXTERN int TIO_EXPORT tio_open_libusb_device
+TIO_EXTERN(int) tio_open_libusb_device
OF((tio_stream_t **streamp, libusb_device_handle *handle));
# endif
@@ -32,15 +32,15 @@ TIO_EXTERN int TIO_EXPORT tio_open_libusb_device
# ifndef LIBTIO_DISABLED_FILE
# include <stdio.h>
-TIO_EXTERN int TIO_EXPORT tio_open_std
+TIO_EXTERN(int) tio_open_std
OF((tio_stream_t **tio__stream,
FILE *tio__fl, int tio__close));
-TIO_EXTERN int TIO_EXPORT tio_open_stdout
+TIO_EXTERN(int) tio_open_stdout
OF((tio_stream_t **tio__stream));
-TIO_EXTERN int TIO_EXPORT tio_open_stderr
+TIO_EXTERN(int) tio_open_stderr
OF((tio_stream_t **tio__stream));
-TIO_EXTERN int TIO_EXPORT tio_open_stdin
+TIO_EXTERN(int) tio_open_stdin
OF((tio_stream_t **tio__stream));
# endif