C++-style headers

This commit is contained in:
Luis Díaz Más 2022-03-08 10:05:27 +01:00
parent c146ae5215
commit c0a3242e73
6 changed files with 6 additions and 12 deletions

View File

@ -4,11 +4,8 @@
#include <exiv2/exiv2.hpp>
#include <expat.h>
#include <stdio.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <time.h>
#include <algorithm>
#include <filesystem>

View File

@ -1,7 +1,8 @@
// SPDX-License-Identifier: GPL-2.0-or-later
#include "helper_functions.hpp"
#include <string.h>
#include <cstring>
std::string string_from_unterminated(const char* data, size_t data_length)
{

View File

@ -10,7 +10,6 @@
#include "http.hpp"
#include "futils.hpp"
#include <stdio.h>
#include <array>
////////////////////////////////////////

View File

@ -7,8 +7,8 @@
// included header files
#include "slice.hpp" // for Slice
#include <stddef.h> // for size_t
#include <stdint.h> // for int32_t
#include <cstddef> // for size_t
#include <cstdint> // for int32_t
#include <ostream> // for ostream, basic_ostream::put
#include <string>

View File

@ -16,8 +16,7 @@
using std::string;
using namespace Exiv2;
#include <stdio.h>
#include <string.h>
#include <cstring>
#if !INI_USE_STACK
#include <cstdlib>

View File

@ -8,11 +8,9 @@
#include "exif.hpp"
#include "i18n.h" // NLS support.
#include <string>
#include <sstream>
#include <iomanip>
#include <stdio.h> // popen to call exiftool
#include <cstdio> // popen to call exiftool
// *****************************************************************************
// class member definitions