diff options
author | Peter Eisentraut | 2017-10-31 14:34:31 +0000 |
---|---|---|
committer | Peter Eisentraut | 2017-11-10 18:38:57 +0000 |
commit | 0e1539ba0d0a43de06c6e0572a565e73b9472538 (patch) | |
tree | ae931d9955c9d6c91c8c85ee8c8e74e74bfb4612 /contrib/pgcrypto/pgcrypto.c | |
parent | 7e60e678615b1f803ac73faee71cca79ec310d1d (diff) |
Add some const decorations to prototypes
Reviewed-by: Fabien COELHO <[email protected]>
Diffstat (limited to 'contrib/pgcrypto/pgcrypto.c')
-rw-r--r-- | contrib/pgcrypto/pgcrypto.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/pgcrypto/pgcrypto.c b/contrib/pgcrypto/pgcrypto.c index e09f3378da6..de09ececcfd 100644 --- a/contrib/pgcrypto/pgcrypto.c +++ b/contrib/pgcrypto/pgcrypto.c @@ -47,7 +47,7 @@ PG_MODULE_MAGIC; /* private stuff */ typedef int (*PFN) (const char *name, void **res); -static void *find_provider(text *name, PFN pf, char *desc, int silent); +static void *find_provider(text *name, PFN pf, const char *desc, int silent); /* SQL function: hash(bytea, text) returns bytea */ PG_FUNCTION_INFO_V1(pg_digest); @@ -474,7 +474,7 @@ pg_random_uuid(PG_FUNCTION_ARGS) static void * find_provider(text *name, PFN provider_lookup, - char *desc, int silent) + const char *desc, int silent) { void *res; char *buf; |