Skip to content

Commit

Permalink
Remove unneeded include statements for string / strings.h
Browse files Browse the repository at this point in the history
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 0efc528
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion cmake/Configure.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ set(include_files_list
stdbool.h
stdint.h
stdlib.h
strings.h
string.h
sys/ipc.h
sys/shm.h
Expand Down
1 change: 0 additions & 1 deletion cppan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ projects:
- stdbool.h
- stdint.h
- stdlib.h
- strings.h
- string.h
- sys/ipc.h
- sys/shm.h
Expand Down
5 changes: 0 additions & 5 deletions src/ccmain/paragraphs_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 0efc528

Please sign in to comment.