search for: c273ee1fc8ba

Displaying 1 result from an estimated 1 matches for "c273ee1fc8ba".

2013 Jan 23
1
[PATCH V2] libxc, libxenstore: make the headers C++-friendlier
...''extern "C"'' statements, moved the definition of enum xc_error_code above it''s typedef, and renamed a ''new'' parameter (''new'' is a C++ keyword). Signed-off-by: Razvan Cojocaru <rzvncj@gmail.com> diff -r 5af4f2ab06f3 -r c273ee1fc8ba tools/libxc/xenctrl.h --- a/tools/libxc/xenctrl.h Tue Jan 22 09:33:10 2013 +0100 +++ b/tools/libxc/xenctrl.h Wed Jan 23 11:18:49 2013 +0200 @@ -26,6 +26,10 @@ #ifndef XENCTRL_H #define XENCTRL_H +#ifdef __cplusplus +extern "C" { +#endif + /* Tell the Xen public headers we are a user-...