diff options
| author | Andreas Schneider <mail@cynapses.org> | 2009-04-05 10:15:57 +0000 |
|---|---|---|
| committer | Andreas Schneider <mail@cynapses.org> | 2009-04-05 10:15:57 +0000 |
| commit | 01e789184a27429775838ac7a211cf55b52b2e4f (patch) | |
| tree | 1640d8d132f8f0edfc1548385b0e0219e46ea59c /include | |
| parent | 58fd38cd90684658ec7f774160cf833bc29aa1ed (diff) | |
| download | libssh-01e789184a27429775838ac7a211cf55b52b2e4f.tar.gz libssh-01e789184a27429775838ac7a211cf55b52b2e4f.tar.xz libssh-01e789184a27429775838ac7a211cf55b52b2e4f.zip | |
Don't shadow a global variable declaration on unistd.h.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@398 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'include')
| -rw-r--r-- | include/libssh/sftp.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/libssh/sftp.h b/include/libssh/sftp.h index 3086beb3..f5368a1b 100644 --- a/include/libssh/sftp.h +++ b/include/libssh/sftp.h @@ -340,7 +340,8 @@ int sftp_file_close(SFTP_FILE *file) SFTP_DEPRECATED; * @return A sftp file handle, NULL on error with ssh and sftp * error set. */ -SFTP_FILE *sftp_open(SFTP_SESSION *session, const char *file, int access, mode_t mode); +SFTP_FILE *sftp_open(SFTP_SESSION *session, const char *file, int flags, + mode_t mode); void sftp_file_set_nonblocking(SFTP_FILE *handle); |
