summaryrefslogtreecommitdiffstats
path: root/include/libssh/priv.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libssh/priv.h')
-rw-r--r--include/libssh/priv.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/libssh/priv.h b/include/libssh/priv.h
index 83a004c4..84b424dc 100644
--- a/include/libssh/priv.h
+++ b/include/libssh/priv.h
@@ -140,13 +140,13 @@ typedef BN_CTX* bignum_CTX;
/* poll support */
#ifdef HAVE_POLL
#include <poll.h>
-typedef struct pollfd pollfd_t;
+typedef struct pollfd ssh_pollfd_t;
#else /* HAVE_POLL */
-typedef struct pollfd_s {
+typedef struct ssh_pollfd_struct {
socket_t fd; /* file descriptor */
short events; /* requested events */
short revents; /* returned events */
-} pollfd_t;
+} ssh_pollfd_t;
/* poll.c */
#ifndef POLLIN
@@ -558,7 +558,7 @@ ssh_string agent_sign_data(struct ssh_session_struct *session,
#endif
/* poll.c */
-int ssh_poll(pollfd_t *fds, nfds_t nfds, int timeout);
+int ssh_poll(ssh_pollfd_t *fds, nfds_t nfds, int timeout);
typedef struct ssh_poll_ctx SSH_POLL_CTX;
typedef struct ssh_poll SSH_POLL;