diff --git a/releng/codesamples/api_3lib.cpp b/releng/codesamples/api_3lib.cpp index fce9c77a..92611b3c 100644 --- a/releng/codesamples/api_3lib.cpp +++ b/releng/codesamples/api_3lib.cpp @@ -1,7 +1,7 @@ // Just to ensure we are C++-clean. This should not spit too much noise /* Copyright 2011 George Danchev - * Licensed under GNU GPL version 2 + * Released into the public domain */ #if __WORDSIZE == 32 @@ -12,13 +12,13 @@ #include #include -extern "C" { +//extern "C" { #include "libburn/libburn.h" #include "libisofs/libisofs.h" // using namespace burn; // (this was needed to before rev.4062 of libisoburn) #include "libisoburn/libisoburn.h" -} +//} int main() { int major=-1, minor=-1, micro=-1; diff --git a/releng/codesamples/api_xorriso.cpp b/releng/codesamples/api_xorriso.cpp index 07ac5a1c..bcfcb3f1 100644 --- a/releng/codesamples/api_xorriso.cpp +++ b/releng/codesamples/api_xorriso.cpp @@ -1,7 +1,7 @@ // Just to ensure we are C++-clean. This should not spit too much noise /* Copyright 2011 George Danchev - * Licensed under GNU GPL version 2 + * Released into the public domain */ #if __WORDSIZE == 32 @@ -12,9 +12,9 @@ #include #include -extern "C" { +//extern "C" { #include "xorriso/xorriso.h" -} +//} int main() { int major=-1, minor=-1, micro=-1;