mirror of
https://github.com/postgres/postgres.git
synced 2025-11-19 13:42:17 +03:00
Renaming cleanup, no pgindent yet.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/mmgr/aset.c,v 1.9 1998/06/15 19:29:51 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/mmgr/aset.c,v 1.10 1998/09/01 03:27:02 momjian Exp $
|
||||
*
|
||||
* NOTE
|
||||
* XXX This is a preliminary implementation which lacks fail-fast
|
||||
@@ -193,7 +193,7 @@ AllocSetAlloc(AllocSet set, Size size)
|
||||
/* set size */
|
||||
alloc->size = size;
|
||||
|
||||
return (AllocElemGetAllocPointer(alloc));
|
||||
return AllocElemGetAllocPointer(alloc);
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -262,7 +262,7 @@ AllocSetRealloc(AllocSet set, AllocPointer pointer, Size size)
|
||||
/* free old pointer */
|
||||
AllocSetFree(set, pointer);
|
||||
|
||||
return (newPointer);
|
||||
return newPointer;
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -296,7 +296,7 @@ AllocSetIterate(AllocSet set,
|
||||
count += 1;
|
||||
}
|
||||
|
||||
return (count);
|
||||
return count;
|
||||
}
|
||||
|
||||
#ifdef NOT_USED
|
||||
@@ -336,9 +336,9 @@ AllocSetGetFirst(AllocSet set)
|
||||
alloc = (AllocElem) OrderedSetGetHead(&set->setData);
|
||||
|
||||
if (!AllocElemIsValid(alloc))
|
||||
return (NULL);
|
||||
return NULL;
|
||||
|
||||
return (AllocElemGetAllocPointer(alloc));
|
||||
return AllocElemGetAllocPointer(alloc);
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -357,9 +357,9 @@ AllocPointerGetNext(AllocPointer pointer)
|
||||
OrderedElemGetSuccessor(&AllocPointerGetAllocElem(pointer)->elemData);
|
||||
|
||||
if (!AllocElemIsValid(alloc))
|
||||
return (NULL);
|
||||
return NULL;
|
||||
|
||||
return (AllocElemGetAllocPointer(alloc));
|
||||
return AllocElemGetAllocPointer(alloc);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user