summaryrefslogtreecommitdiff
path: root/src/include/commands/comment.h
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2017-10-31 10:34:31 -0400
committerPeter Eisentraut <peter_e@gmx.net>2017-11-10 13:38:57 -0500
commit0e1539ba0d0a43de06c6e0572a565e73b9472538 (patch)
treeae931d9955c9d6c91c8c85ee8c8e74e74bfb4612 /src/include/commands/comment.h
parent7e60e678615b1f803ac73faee71cca79ec310d1d (diff)
Add some const decorations to prototypes
Reviewed-by: Fabien COELHO <coelho@cri.ensmp.fr>
Diffstat (limited to 'src/include/commands/comment.h')
-rw-r--r--src/include/commands/comment.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/commands/comment.h b/src/include/commands/comment.h
index 85bd8015136..0caf0e81ab9 100644
--- a/src/include/commands/comment.h
+++ b/src/include/commands/comment.h
@@ -34,11 +34,11 @@ extern ObjectAddress CommentObject(CommentStmt *stmt);
extern void DeleteComments(Oid oid, Oid classoid, int32 subid);
-extern void CreateComments(Oid oid, Oid classoid, int32 subid, char *comment);
+extern void CreateComments(Oid oid, Oid classoid, int32 subid, const char *comment);
extern void DeleteSharedComments(Oid oid, Oid classoid);
-extern void CreateSharedComments(Oid oid, Oid classoid, char *comment);
+extern void CreateSharedComments(Oid oid, Oid classoid, const char *comment);
extern char *GetComment(Oid oid, Oid classoid, int32 subid);