Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite6e4c45

Browse files
committed
Add comments of duplicate definitions in interfaces/odbc/md5.h.
1 parent75bb1e6 commite6e4c45

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

‎src/include/c.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
1313
* Portions Copyright (c) 1994, Regents of the University of California
1414
*
15-
* $Id: c.h,v 1.108 2001/11/05 17:46:31 momjian Exp $
15+
* $Id: c.h,v 1.109 2001/11/12 01:52:46 momjian Exp $
1616
*
1717
*-------------------------------------------------------------------------
1818
*/
@@ -147,6 +147,7 @@
147147
/* BeOS defines bool already, but the compiler chokes on the
148148
* #ifndef unless we wrap it in this check.
149149
*/
150+
/* Also defined in interfaces/odbc/md5.h */
150151
#ifndef__BEOS__
151152

152153
#ifndef__cplusplus
@@ -216,6 +217,7 @@ typedef signed int int32;/* == 32 bits */
216217
*used for numerical computations and the
217218
*frontend/backend protocol.
218219
*/
220+
/* Also defined in interfaces/odbc/md5.h */
219221
#ifndef__BEOS__/* this shouldn't be required, but is is! */
220222
typedefunsignedcharuint8;/* == 8 bits */
221223
typedefunsigned shortuint16;/* == 16 bits */

‎src/include/libpq/crypt.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
77
* Portions Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: crypt.h,v 1.18 2001/11/05 17:46:33 momjian Exp $
9+
* $Id: crypt.h,v 1.19 2001/11/12 01:52:46 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -17,6 +17,7 @@
1717

1818
#defineCRYPT_PWD_FILE_SEPSTR"\t"
1919

20+
/* Also defined in interfaces/odbc/md5.h */
2021
#defineMD5_PASSWD_LEN35
2122

2223
#defineisMD5(passwd)(strncmp((passwd),"md5",3) == 0 && \
@@ -30,6 +31,7 @@ extern int md5_crypt_verify(const Port *port, const char *user,
3031
constchar*pgpass);
3132
externboolmd5_hash(constvoid*buff,size_tlen,char*hexsum);
3233
externboolCheckMD5Pwd(char*passwd,char*storedpwd,char*seed);
34+
/* Also defined in interfaces/odbc/md5.h */
3335
externboolEncryptMD5(constchar*passwd,constchar*salt,
3436
size_tsalt_len,char*buf);
3537

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp