mirror of
https://github.com/postgres/postgres.git
synced 2025-11-12 05:01:15 +03:00
Renaming cleanup, no pgindent yet.
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/lib/Attic/lispsort.c,v 1.8 1998/02/26 04:31:39 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/lib/Attic/lispsort.c,v 1.9 1998/09/01 03:22:38 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -42,7 +42,7 @@ lisp_qsort(List *the_list, /* the list to be sorted */
|
||||
/* find size of list */
|
||||
num = length(the_list);
|
||||
if (num < 2)
|
||||
return (copyObject(the_list));
|
||||
return copyObject(the_list);
|
||||
|
||||
/* copy elements of the list into an array */
|
||||
nodearray = (List **) palloc(num * sizeof(List *));
|
||||
@@ -58,7 +58,7 @@ lisp_qsort(List *the_list, /* the list to be sorted */
|
||||
for (i = num - 1; i >= 0; i--)
|
||||
output = lcons(nodearray[i], output);
|
||||
|
||||
return (output);
|
||||
return output;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user