mirror of
https://github.com/postgres/postgres.git
synced 2025-06-26 12:21:12 +03:00
Add some const decorations to prototypes
Reviewed-by: Fabien COELHO <coelho@cri.ensmp.fr>
This commit is contained in:
@ -29,7 +29,7 @@
|
||||
#ifndef HAVE_DLOPEN
|
||||
|
||||
void *
|
||||
pg_dlopen(char *filename)
|
||||
pg_dlopen(const char *filename)
|
||||
{
|
||||
#ifndef HAVE_DLD_H
|
||||
elog(ERROR, "dynamic load not supported");
|
||||
@ -101,7 +101,7 @@ pg_dlopen(char *filename)
|
||||
}
|
||||
|
||||
PGFunction
|
||||
pg_dlsym(void *handle, char *funcname)
|
||||
pg_dlsym(void *handle, const char *funcname)
|
||||
{
|
||||
#ifndef HAVE_DLD_H
|
||||
return NULL;
|
||||
|
Reference in New Issue
Block a user