mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Add some const decorations to prototypes
Reviewed-by: Fabien COELHO <coelho@cri.ensmp.fr>
This commit is contained in:
@ -232,7 +232,7 @@ metastring;
|
||||
*/
|
||||
|
||||
static metastring *
|
||||
NewMetaString(char *init_str)
|
||||
NewMetaString(const char *init_str)
|
||||
{
|
||||
metastring *s;
|
||||
char empty_string[] = "";
|
||||
@ -375,7 +375,7 @@ StringAt(metastring *s, int start, int length,...)
|
||||
|
||||
|
||||
static void
|
||||
MetaphAdd(metastring *s, char *new_str)
|
||||
MetaphAdd(metastring *s, const char *new_str)
|
||||
{
|
||||
int add_length;
|
||||
|
||||
|
Reference in New Issue
Block a user