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

Mikulas Patocka mpatocka at redhat.com
Mon Mar 18 21:16:32 UTC 2013



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




More information about the lvm-devel mailing list