aboutsummaryrefslogtreecommitdiffstats
path: root/src/posix-fd-t.inc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/posix-fd-t.inc.h')
-rw-r--r--src/posix-fd-t.inc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/posix-fd-t.inc.h b/src/posix-fd-t.inc.h
index b9d8dd2..832c4fa 100644
--- a/src/posix-fd-t.inc.h
+++ b/src/posix-fd-t.inc.h
@@ -24,5 +24,10 @@
typedef int assuan_fd_t;
#define ASSUAN_INVALID_FD (-1)
#define ASSUAN_INVALID_PID ((pid_t) -1)
+static GPG_ERR_INLINE assuan_fd_t
+assuan_fd_from_posix_fd (int fd)
+{
+ return fd;
+}
##EOF##