Fix #95: Remove unused get_token() wrapper from pclsync_lib
- Eliminates thin wrapper that just called psync_get_token() - Function was declared but never used - Simplifies pclsync_lib API as per issue #95
This commit is contained in:
parent
11074655db
commit
2c5e32e910
|
|
@ -113,8 +113,6 @@ clib::pclsync_lib &clib::pclsync_lib::get_lib() {
|
|||
return g_lib;
|
||||
}
|
||||
|
||||
char *clib::pclsync_lib::get_token() { return psync_get_token(); }
|
||||
|
||||
void clib::pclsync_lib::read_password() {
|
||||
read_from_stdin(password_);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -102,7 +102,6 @@ public:
|
|||
static int add_sync_folder(const char *path);
|
||||
static int remove_sync_folder(const char *path);
|
||||
|
||||
char *get_token();
|
||||
int logout();
|
||||
int unlink();
|
||||
int login(const char *user, const char *pass, int save);
|
||||
|
|
|
|||
Loading…
Reference in New Issue