diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2017-10-31 10:34:31 -0400 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2017-11-10 13:38:57 -0500 |
commit | 0e1539ba0d0a43de06c6e0572a565e73b9472538 (patch) | |
tree | ae931d9955c9d6c91c8c85ee8c8e74e74bfb4612 /src/backend/commands/comment.c | |
parent | 7e60e678615b1f803ac73faee71cca79ec310d1d (diff) |
Add some const decorations to prototypes
Reviewed-by: Fabien COELHO <coelho@cri.ensmp.fr>
Diffstat (limited to 'src/backend/commands/comment.c')
-rw-r--r-- | src/backend/commands/comment.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/commands/comment.c b/src/backend/commands/comment.c index 1c17927c499..2dc9371fdbc 100644 --- a/src/backend/commands/comment.c +++ b/src/backend/commands/comment.c @@ -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]; |