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

Commit87e701b

Browse files
committed
Clean up const-vs-not-const compiler warning in MULTIBYTE code.
'Twas my fault, I think.
1 parenta2b5fac commit87e701b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

‎src/backend/utils/mb/variable.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
* This file contains some public functions
33
* related to show/set/reset variable commands.
44
* Tatsuo Ishii
5-
* $Id: variable.c,v 1.6 2000/01/18 13:44:48 ishii Exp $
5+
* $Id: variable.c,v 1.7 2000/04/20 22:40:18 tgl Exp $
66
*/
77

88
#include"postgres.h"
99
#include"miscadmin.h"
1010
#include"mb/pg_wchar.h"
1111

1212
bool
13-
parse_client_encoding(constchar*value)
13+
parse_client_encoding(char*value)
1414
{
1515
intencoding;
1616

@@ -60,7 +60,7 @@ reset_client_encoding()
6060
}
6161

6262
bool
63-
parse_server_encoding(constchar*value)
63+
parse_server_encoding(char*value)
6464
{
6565
elog(NOTICE,"SET SERVER_ENCODING is not supported");
6666
return TRUE;

‎src/include/mb/pg_wchar.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $Id: pg_wchar.h,v 1.13 2000/01/18 05:08:31 ishii Exp $ */
1+
/* $Id: pg_wchar.h,v 1.14 2000/04/20 22:40:18 tgl Exp $ */
22

33
#ifndefPG_WCHAR_H
44
#definePG_WCHAR_H
@@ -112,10 +112,10 @@ extern intpg_mbcliplen(const unsigned char *, int, int);
112112
externpg_encoding_conv_tbl*pg_get_encent_by_encoding(int);
113113
externboolshow_client_encoding(void);
114114
externboolreset_client_encoding(void);
115-
externboolparse_client_encoding(constchar*);
115+
externboolparse_client_encoding(char*);
116116
externboolshow_server_encoding(void);
117117
externboolreset_server_encoding(void);
118-
externboolparse_server_encoding(constchar*);
118+
externboolparse_server_encoding(char*);
119119
externintpg_set_client_encoding(int);
120120
externintpg_get_client_encoding(void);
121121
externunsignedchar*pg_client_to_server(unsignedchar*,int);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp