Mailing List Archive

extern "C" {}
Just a small request that's been lingering in the Debian bugtracker for a year
and a half: You might want to add conditional extern "C" { } around the
declarations in the header files (although not only in spf_request.h as the
bug report suggests).

http://bugs.debian.org/671141

Technically, wrapping spf.h, including its #include:s of other header files,
should suffice, since one'll normally #include <spf.h> when using libspf2 (the
documentation doesn't provide much guidance), but I guess best practice is to
wrap each header file separately.

I've attached a patch that I hope does this correctly.

--
Magnus Holmgren holmgren@lysator.liu.se
holmgren@debian.org


-------------------------------------------
Sender Policy Framework: http://www.openspf.net [http://www.openspf.net]
Modify Your Subscription: http://www.listbox.com/member/ [http://www.listbox.com/member/]

Archives: https://www.listbox.com/member/archive/1007/=now
RSS Feed: https://www.listbox.com/member/archive/rss/1007/1311533-9e42a648
Modify Your Subscription: https://www.listbox.com/member/?member_id=1311533&id_secret=1311533-d322f1f1
Unsubscribe Now: https://www.listbox.com/unsubscribe/?member_id=1311533&id_secret=1311533-d59c80a0&post_id=20140126141518:2543AD74-86BE-11E3-8955-97BC2AF6EC9F
Powered by Listbox: http://www.listbox.com