mirror of
https://github.com/postgres/postgres.git
synced 2025-07-12 21:01:52 +03:00
Add some const decorations to prototypes
Reviewed-by: Fabien COELHO <coelho@cri.ensmp.fr>
This commit is contained in:
@ -139,7 +139,7 @@ CommentObject(CommentStmt *stmt)
|
||||
* existing comment for the specified key.
|
||||
*/
|
||||
void
|
||||
CreateComments(Oid oid, Oid classoid, int32 subid, char *comment)
|
||||
CreateComments(Oid oid, Oid classoid, int32 subid, const char *comment)
|
||||
{
|
||||
Relation description;
|
||||
ScanKeyData skey[3];
|
||||
@ -234,7 +234,7 @@ CreateComments(Oid oid, Oid classoid, int32 subid, char *comment)
|
||||
* existing comment for the specified key.
|
||||
*/
|
||||
void
|
||||
CreateSharedComments(Oid oid, Oid classoid, char *comment)
|
||||
CreateSharedComments(Oid oid, Oid classoid, const char *comment)
|
||||
{
|
||||
Relation shdescription;
|
||||
ScanKeyData skey[2];
|
||||
|
Reference in New Issue
Block a user