Re: pgsql: Adjust basebackup.c to suppress compiler warnings.

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: pgsql: Adjust basebackup.c to suppress compiler warnings.
Дата
Msg-id 1294775954-sup-6748@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: pgsql: Adjust basebackup.c to suppress compiler warnings.  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-committers
> Magnus Hagander <magnus@hagander.net> writes:

> > I noticed you didn't create a function prototype at the top of the
> > file for this function. Was that intentional, or missed? If it was
> > intentional, can you give me a quick lesson in when it should be done
> > and whe nit shouldn't? :-)

I think normally you can omit the prototype when the function definition
comes before its first usage.

--
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Adjust basebackup.c to suppress compiler warnings.
Следующее
От: Magnus Hagander
Дата:
Сообщение: pgsql: Add missing function prototype, for consistency