lib: Warn about deprecated functions (enable with -DGUESTFS_WARN_DEPRECATED=1).
authorRichard W.M. Jones <rjones@redhat.com>
Tue, 17 May 2011 13:41:54 +0000 (14:41 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Tue, 17 May 2011 16:05:12 +0000 (17:05 +0100)
commitbe507f6a225345ec3c03096fa05cdb0d0e3dec9a
treefe3f5976013e43d79c7a5b10af4d3072825211d9
parent33adb59b60b1358656439a757f319ba8ce81e26c
lib: Warn about deprecated functions (enable with -DGUESTFS_WARN_DEPRECATED=1).

This allows C API users to be warned if they are using any deprecated
functions.

We don't warn about this by default.  Users have to specifically
request this by defining the cpp symbol GUESTFS_WARN_DEPRECATED as 1.
generator/generator_c.ml