mirror of
https://github.com/postgres/postgres.git
synced 2025-11-21 00:42:43 +03:00
Run pgindent on 9.2 source tree in preparation for first 9.3
commit-fest.
This commit is contained in:
@@ -372,8 +372,8 @@ cmpLexemeQ(const void *a, const void *b)
|
||||
static int
|
||||
cmpTheLexeme(const void *a, const void *b)
|
||||
{
|
||||
const TheLexeme *la = (const TheLexeme *) a;
|
||||
const TheLexeme *lb = (const TheLexeme *) b;
|
||||
const TheLexeme *la = (const TheLexeme *) a;
|
||||
const TheLexeme *lb = (const TheLexeme *) b;
|
||||
int res;
|
||||
|
||||
if ((res = cmpLexeme(la, lb)) != 0)
|
||||
|
||||
@@ -148,12 +148,12 @@ static char *VoidString = "";
|
||||
static int
|
||||
cmpspell(const void *s1, const void *s2)
|
||||
{
|
||||
return (strcmp((*(SPELL * const *) s1)->word, (*(SPELL * const *) s2)->word));
|
||||
return (strcmp((*(SPELL *const *) s1)->word, (*(SPELL *const *) s2)->word));
|
||||
}
|
||||
static int
|
||||
cmpspellaffix(const void *s1, const void *s2)
|
||||
{
|
||||
return (strncmp((*(SPELL * const *) s1)->p.flag, (*(SPELL * const *) s2)->p.flag, MAXFLAGLEN));
|
||||
return (strncmp((*(SPELL *const *) s1)->p.flag, (*(SPELL *const *) s2)->p.flag, MAXFLAGLEN));
|
||||
}
|
||||
|
||||
static char *
|
||||
|
||||
@@ -33,8 +33,8 @@ compareWORD(const void *a, const void *b)
|
||||
int res;
|
||||
|
||||
res = tsCompareString(
|
||||
((const ParsedWord *) a)->word, ((const ParsedWord *) a)->len,
|
||||
((const ParsedWord *) b)->word, ((const ParsedWord *) b)->len,
|
||||
((const ParsedWord *) a)->word, ((const ParsedWord *) a)->len,
|
||||
((const ParsedWord *) b)->word, ((const ParsedWord *) b)->len,
|
||||
false);
|
||||
|
||||
if (res == 0)
|
||||
|
||||
@@ -62,7 +62,7 @@ get_tsearch_config_filename(const char *basename,
|
||||
static int
|
||||
comparestr(const void *a, const void *b)
|
||||
{
|
||||
return strcmp(*(char * const *) a, *(char * const *) b);
|
||||
return strcmp(*(char *const *) a, *(char *const *) b);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user