[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [lvm-devel] [PATCH] libdevmapper.h: make this include file standard-compliant




On Sat, 16 Mar 2013, Alasdair G Kergon wrote:

> Is there any reason for any of the code to try to support c89 these days?
> 
> I was assuming c99 as the miniumum and saw no need to support c89.
> 
> Alasdair

Include files typically need to be compatible with c89, so that users can 
compile their programs in c89 mode. (some BSD systems go even as far to 
support K&R prototypes in their include files)

In libdevmapper.h it is not critical because there are very few programs 
that use it. If you want to include c89 support, do it, but it is not 
critical.

Mikulas


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]