Permalink
Browse files

Remove unneeded include statements for string / strings.h

Tesseract code does not use strings.h (strngs.h was once called strings.h),
so that dependency can also be removed from cmake and cppan configuration.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
  • Loading branch information...
stweil committed Apr 30, 2018
1 parent de78ef8 commit 0efc52868478f56a97a067ed77f2d506f508a4a7
Showing with 0 additions and 7 deletions.
  1. +0 −1 cmake/Configure.cmake
  2. +0 −1 cppan.yml
  3. +0 −5 src/ccmain/paragraphs_internal.h
@@ -88,7 +88,6 @@ set(include_files_list
stdbool.h
stdint.h
stdlib.h
strings.h
string.h
sys/ipc.h
sys/shm.h
@@ -105,7 +105,6 @@ projects:
- stdbool.h
- stdint.h
- stdlib.h
- strings.h
- string.h
- sys/ipc.h
- sys/shm.h
@@ -21,11 +21,6 @@
#define TESSERACT_CCMAIN_PARAGRAPHS_INTERNAL_H_
#include "paragraphs.h"
#ifdef _MSC_VER
#include <string>
#else
#include "strings.h"
#endif
// NO CODE OUTSIDE OF paragraphs.cpp AND TESTS SHOULD NEED TO ACCESS
// DATA STRUCTURES OR FUNCTIONS IN THIS FILE.

0 comments on commit 0efc528

Please sign in to comment.