1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-16 06:01:02 +03:00

Code cleanup for function prototypes: change two K&R-style prototypes

to ANSI-style, and change "()" -> "(void)". Patch from Stefan Huehner.
This commit is contained in:
Neil Conway
2007-03-18 05:36:50 +00:00
parent 582e22a8c3
commit b9954fbb4e
3 changed files with 6 additions and 14 deletions

View File

@ -9,7 +9,7 @@
*
* CAUTION: if you change this file, see also qsort_arg.c
*
* $PostgreSQL: pgsql/src/port/qsort.c,v 1.12 2006/10/19 20:56:22 tgl Exp $
* $PostgreSQL: pgsql/src/port/qsort.c,v 1.13 2007/03/18 05:36:50 neilc Exp $
*/
/* $NetBSD: qsort.c,v 1.13 2003/08/07 16:43:42 agc Exp $ */
@ -73,11 +73,7 @@ do { \
(es) % sizeof(long) ? 2 : (es) == sizeof(long)? 0 : 1;
static void
swapfunc(a, b, n, swaptype)
char *a,
*b;
size_t n;
int swaptype;
swapfunc(char *a, char *b, size_t n, int swaptype)
{
if (swaptype <= 1)
swapcode(long, a, b, n);