Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
zhou-yuhan committed Oct 21, 2022
1 parent 5c8813b commit 5d5db80
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions include/libsftp/libssh.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@
#define LIBSSH_H

#include <sys/types.h>
#ifdef LINUX
#include <stdint.h>
#endif
#include <stdint.h>

#define API

Expand Down Expand Up @@ -178,4 +176,4 @@ API void ssh_string_free_char(char *s);
/* universal defs */
typedef struct ssh_key_struct* ssh_key;

#endif /* LIBSSH_H */
#endif /* LIBSSH_H */
4 changes: 2 additions & 2 deletions src/sftp.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @file stfp.c
* @author Zhou Yuhan (zhouyuhan_@outlook.com)
* @author Zhou Yuhan (zhouyuhan@pku.edu.cn)
* @brief Implementaiton of SFTP functions, including APIs and helpers.
* Only open, close, read, write of regular files are supported
* @version 0.1
Expand Down Expand Up @@ -622,4 +622,4 @@ static sftp_status sftp_parse_status(sftp_packet packet) {
*/
sftp_attributes sftp_stat(sftp_session session, const char *path) {
return NULL;
}
}

0 comments on commit 5d5db80

Please sign in to comment.