Re: Add unistd.h to c.h

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Add unistd.h to c.h
Дата
Msg-id 1299863412-sup-1769@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Add unistd.h to c.h  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Список pgsql-hackers
Excerpts from Heikki Linnakangas's message of vie mar 11 13:59:59 -0300 2011:

> Presumably all of these are used by something in c.h itself. At least 
> strings.h is needed by memset, and stddef.h and/or stdlib.h is needed 
> for size_t. I'm too lazy to check the rest, but if there are any header 
> files there that are not in fact used by anything in c.h itself, they 
> should be removed from c.h, rather than going further into that direction.

Yeah.  FWIW I sometimes make efforts to reduce the reach of headers, for
example by removing them from other headers that don't need them.  It is
quite the opposite to what you propose here.

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


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Add unistd.h to c.h
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: Non-simultaneous file system snapshots as backups