1
0
mirror of https://github.com/postgres/postgres.git synced 2025-12-02 23:42:46 +03:00

Seems some C compilers think 'restrict' is a fully reserved word.

Per buildfarm results from warthog.
This commit is contained in:
Tom Lane
2006-08-16 04:32:49 +00:00
parent 1395ac6c67
commit d6ac61cd64
3 changed files with 11 additions and 11 deletions

View File

@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/fmgr/dfmgr.c,v 1.88 2006/08/15 18:26:58 tgl Exp $
* $PostgreSQL: pgsql/src/backend/utils/fmgr/dfmgr.c,v 1.89 2006/08/16 04:32:48 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -131,16 +131,16 @@ load_external_function(char *filename, char *funcname,
* function in it. If the same shlib has previously been loaded,
* unload and reload it.
*
* When 'restrict' is true, only libraries in the presumed-secure
* When 'restricted' is true, only libraries in the presumed-secure
* directory $libdir/plugins may be referenced.
*/
void
load_file(const char *filename, bool restrict)
load_file(const char *filename, bool restricted)
{
char *fullname;
/* Apply security restriction if requested */
if (restrict)
if (restricted)
check_restricted_library_name(filename);
/* Expand the possibly-abbreviated filename to an exact path name */