1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Goodbye register keyword. Compiler knows better.

This commit is contained in:
Bruce Momjian
1998-02-11 19:14:04 +00:00
parent df10360d8e
commit 24cab6bd0d
50 changed files with 494 additions and 500 deletions

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/cache/catcache.c,v 1.21 1998/01/15 19:45:28 pgsql Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/cache/catcache.c,v 1.22 1998/02/11 19:12:47 momjian Exp $
*
* Notes:
* XXX This needs to use exception.h to handle recovery when
@ -287,7 +287,7 @@ CatalogCacheSetId(CatCache *cacheInOutP, int id)
* ----------------
*/
static long
comphash(long l, register char *v)
comphash(long l, char *v)
{
long i;
NameData n;
@ -654,7 +654,7 @@ InitSysCache(char *relname,
HeapTuple (*iScanfuncP) ())
{
CatCache *cp;
register int i;
int i;
MemoryContext oldcxt;
char *indname;

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/cache/syscache.c,v 1.13 1998/01/31 04:38:54 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/cache/syscache.c,v 1.14 1998/02/11 19:12:49 momjian Exp $
*
* NOTES
* These routines allow the parser/planner/executor to perform
@ -398,7 +398,7 @@ SearchSysCacheTuple(int cacheId, /* cache selection code */
Datum key3,
Datum key4)
{
register HeapTuple tp;
HeapTuple tp;
if (cacheId < 0 || cacheId >= SysCacheSize)
{