1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-08 11:42:09 +03:00

Rename comparePos() to compareWordEntryPos()

Rename comparePos() to compareWordEntryPos() to prevent export of too
generic name.

Per gripe from Tom Lane.
This commit is contained in:
Teodor Sigaev
2016-04-08 12:02:45 +03:00
parent 196b72fb9a
commit 4e55b3f033
3 changed files with 4 additions and 4 deletions

View File

@ -1216,7 +1216,7 @@ uniqueLongPos(WordEntryPos *pos, int npos)
if (npos <= 1)
return npos;
qsort((void *) pos, npos, sizeof(WordEntryPos), comparePos);
qsort((void *) pos, npos, sizeof(WordEntryPos), compareWordEntryPos);
result = pos;
pos_iter = pos + 1;