diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/pdf-bookmarks.cc | 4 | ||||
-rw-r--r-- | examples/pdf-count-strings.cc | 2 | ||||
-rw-r--r-- | examples/pdf-create.cc | 2 | ||||
-rw-r--r-- | examples/pdf-double-page-size.cc | 4 | ||||
-rw-r--r-- | examples/pdf-filter-tokens.cc | 2 | ||||
-rw-r--r-- | examples/pdf-invert-images.cc | 4 | ||||
-rw-r--r-- | examples/pdf-mod-info.cc | 6 | ||||
-rw-r--r-- | examples/pdf-npages.cc | 4 | ||||
-rw-r--r-- | examples/pdf-overlay-page.cc | 2 | ||||
-rw-r--r-- | examples/pdf-parse-content.cc | 2 | ||||
-rw-r--r-- | examples/pdf-set-form-values.cc | 2 | ||||
-rw-r--r-- | examples/pdf-split-pages.cc | 2 |
12 files changed, 18 insertions, 18 deletions
diff --git a/examples/pdf-bookmarks.cc b/examples/pdf-bookmarks.cc index b6f87e49..d507f559 100644 --- a/examples/pdf-bookmarks.cc +++ b/examples/pdf-bookmarks.cc @@ -5,8 +5,8 @@ #include <qpdf/QTC.hh> #include <qpdf/QUtil.hh> #include <iostream> -#include <stdlib.h> -#include <string.h> +#include <cstdlib> +#include <cstring> // This program demonstrates extraction of bookmarks using the qpdf // outlines API. Note that all the information shown by this program diff --git a/examples/pdf-count-strings.cc b/examples/pdf-count-strings.cc index 09c4a1f5..584d630b 100644 --- a/examples/pdf-count-strings.cc +++ b/examples/pdf-count-strings.cc @@ -5,7 +5,7 @@ // #include <iostream> -#include <stdlib.h> +#include <cstdlib> #include <qpdf/Pl_StdioFile.hh> #include <qpdf/QPDF.hh> diff --git a/examples/pdf-create.cc b/examples/pdf-create.cc index 56af4a8d..7898479a 100644 --- a/examples/pdf-create.cc +++ b/examples/pdf-create.cc @@ -16,7 +16,7 @@ #include <qpdf/QUtil.hh> #include <iostream> #include <memory> -#include <stdlib.h> +#include <cstdlib> static char const* whoami = nullptr; diff --git a/examples/pdf-double-page-size.cc b/examples/pdf-double-page-size.cc index 1ebe71df..d1fb3344 100644 --- a/examples/pdf-double-page-size.cc +++ b/examples/pdf-double-page-size.cc @@ -5,8 +5,8 @@ #include <qpdf/QPDFWriter.hh> #include <qpdf/QUtil.hh> #include <iostream> -#include <stdlib.h> -#include <string.h> +#include <cstdlib> +#include <cstring> static char const* whoami = nullptr; diff --git a/examples/pdf-filter-tokens.cc b/examples/pdf-filter-tokens.cc index 8824b391..173feb6a 100644 --- a/examples/pdf-filter-tokens.cc +++ b/examples/pdf-filter-tokens.cc @@ -8,7 +8,7 @@ #include <algorithm> #include <deque> #include <iostream> -#include <stdlib.h> +#include <cstdlib> #include <qpdf/QPDF.hh> #include <qpdf/QPDFObjectHandle.hh> diff --git a/examples/pdf-invert-images.cc b/examples/pdf-invert-images.cc index 9ffb9c1f..06d74198 100644 --- a/examples/pdf-invert-images.cc +++ b/examples/pdf-invert-images.cc @@ -6,8 +6,8 @@ #include <qpdf/QPDFWriter.hh> #include <qpdf/QUtil.hh> #include <iostream> -#include <stdlib.h> -#include <string.h> +#include <cstdlib> +#include <cstring> static char const* whoami = nullptr; diff --git a/examples/pdf-mod-info.cc b/examples/pdf-mod-info.cc index fa49738b..196ce979 100644 --- a/examples/pdf-mod-info.cc +++ b/examples/pdf-mod-info.cc @@ -6,9 +6,9 @@ #include <qpdf/QTC.hh> #include <qpdf/QUtil.hh> #include <iostream> -#include <stdio.h> -#include <stdlib.h> -#include <string.h> +#include <cstdio> +#include <cstdlib> +#include <cstring> static char const* version = "1.1"; static char const* whoami = nullptr; diff --git a/examples/pdf-npages.cc b/examples/pdf-npages.cc index 3d34d489..e98d1365 100644 --- a/examples/pdf-npages.cc +++ b/examples/pdf-npages.cc @@ -1,6 +1,6 @@ #include <iostream> -#include <stdlib.h> -#include <string.h> +#include <cstdlib> +#include <cstring> #include <qpdf/QPDF.hh> #include <qpdf/QUtil.hh> diff --git a/examples/pdf-overlay-page.cc b/examples/pdf-overlay-page.cc index d40bf0e1..5c7bf46f 100644 --- a/examples/pdf-overlay-page.cc +++ b/examples/pdf-overlay-page.cc @@ -4,7 +4,7 @@ #include <qpdf/QPDFWriter.hh> #include <qpdf/QUtil.hh> #include <iostream> -#include <stdlib.h> +#include <cstdlib> // This program demonstrates use of form XObjects to overlay a page // from one file onto all pages of another file. The qpdf program's diff --git a/examples/pdf-parse-content.cc b/examples/pdf-parse-content.cc index 85abcabc..49440418 100644 --- a/examples/pdf-parse-content.cc +++ b/examples/pdf-parse-content.cc @@ -1,5 +1,5 @@ #include <iostream> -#include <stdlib.h> +#include <cstdlib> #include <qpdf/QIntC.hh> #include <qpdf/QPDF.hh> diff --git a/examples/pdf-set-form-values.cc b/examples/pdf-set-form-values.cc index 281e139e..d13f0608 100644 --- a/examples/pdf-set-form-values.cc +++ b/examples/pdf-set-form-values.cc @@ -4,7 +4,7 @@ #include <qpdf/QPDFWriter.hh> #include <qpdf/QUtil.hh> #include <iostream> -#include <stdlib.h> +#include <cstdlib> static char const* whoami = nullptr; diff --git a/examples/pdf-split-pages.cc b/examples/pdf-split-pages.cc index 5d65853e..6a4f149b 100644 --- a/examples/pdf-split-pages.cc +++ b/examples/pdf-split-pages.cc @@ -12,7 +12,7 @@ #include <cstring> #include <iostream> -#include <stdlib.h> +#include <cstdlib> #include <string> static bool static_id = false; |