Minor documentation / stylistic updates
This commit is contained in:
parent
79d469d3b6
commit
0a5dd74b44
|
@ -165,7 +165,8 @@ ${XDG_CONFIG_HOME}/httpdirfs, rather than ${HOME}/.httpdirfs
|
|||
## [1.0] - 2018-08-22
|
||||
- Initial release, everything works correctly, as far as I know.
|
||||
|
||||
[Unreleased]: https://github.com/fangfufu/httpdirfs/compare/1.1.10...HEAD
|
||||
[Unreleased]: https://github.com/fangfufu/httpdirfs/compare/Unreleased...1.2.0
|
||||
[1.2.0]: https://github.com/fangfufu/httpdirfs/compare/1.2.0...1.1.10
|
||||
[1.1.10]: https://github.com/fangfufu/httpdirfs/compare/1.1.9...1.1.10
|
||||
[1.1.9]: https://github.com/fangfufu/httpdirfs/compare/1.1.8...1.1.9
|
||||
[1.1.8]: https://github.com/fangfufu/httpdirfs/compare/1.1.7...1.1.8
|
||||
|
|
|
@ -46,7 +46,7 @@ void sonic_config_init(const char *server, const char *username,
|
|||
/**
|
||||
* \brief generate authentication string
|
||||
*/
|
||||
static char *sonic_gen_auth_str()
|
||||
static char *sonic_gen_auth_str(void)
|
||||
{
|
||||
char *salt = generate_salt();
|
||||
size_t password_len = strnlen(SONIC_CONFIG.password, MAX_FILENAME_LEN);
|
||||
|
|
|
@ -163,7 +163,7 @@ void erase_string(FILE *file, size_t max_len, char *s)
|
|||
}
|
||||
}
|
||||
|
||||
char *generate_salt()
|
||||
char *generate_salt(void)
|
||||
{
|
||||
char *out;
|
||||
out = CALLOC(SALT_LEN + 1, sizeof(char));
|
||||
|
|
|
@ -114,7 +114,7 @@ void erase_string(FILE *file, size_t max_len, char *s);
|
|||
* \details this effectively generates a UUID string, which we use as the salt
|
||||
* \return a pointer to a 37-char array with the salt.
|
||||
*/
|
||||
char *generate_salt();
|
||||
char *generate_salt(void);
|
||||
|
||||
/**
|
||||
* \brief generate the md5sum of a string
|
||||
|
|
Loading…
Reference in New Issue