mirror of
https://github.com/postgres/postgres.git
synced 2026-01-05 23:38:41 +03:00
Harmonize parameter names in contrib code.
Make sure that function declarations use names that exactly match the corresponding names from function definitions in contrib code. Like other recent commits that cleaned up function parameter names, this commit was written with help from clang-tidy. Author: Peter Geoghegan <pg@bowt.ie> Discussion: https://postgr.es/m/CAH2-WznJt9CMM9KJTMjJh_zbL5hD9oX44qdJ4aqZtjFi-zA3Tg@mail.gmail.com
This commit is contained in:
@@ -48,8 +48,8 @@
|
||||
/*
|
||||
* main interface
|
||||
*/
|
||||
char *px_crypt(const char *psw, const char *salt, char *buf, unsigned buflen);
|
||||
int px_gen_salt(const char *salt_type, char *dst, int rounds);
|
||||
char *px_crypt(const char *psw, const char *salt, char *buf, unsigned len);
|
||||
int px_gen_salt(const char *salt_type, char *buf, int rounds);
|
||||
|
||||
/*
|
||||
* internal functions
|
||||
@@ -77,6 +77,6 @@ char *px_crypt_des(const char *key, const char *setting);
|
||||
|
||||
/* crypt-md5.c */
|
||||
char *px_crypt_md5(const char *pw, const char *salt,
|
||||
char *dst, unsigned dstlen);
|
||||
char *passwd, unsigned dstlen);
|
||||
|
||||
#endif /* _PX_CRYPT_H */
|
||||
|
||||
Reference in New Issue
Block a user