Skip to content

Commit

Permalink
Remove public API file ndminx.h
Browse files Browse the repository at this point in the history
It is not needed for the Tesseract code, and the Tesseract API
should not provide MIN / MAX macros.

Signed-off-by: Stefan Weil <[email protected]>
  • Loading branch information
stweil committed Jun 21, 2018
1 parent eaae28f commit a9e2574
Show file tree
Hide file tree
Showing 29 changed files with 1 addition and 59 deletions.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,6 @@ install(FILES
src/ccutil/helpers.h
src/ccutil/host.h
src/ccutil/memry.h
src/ccutil/ndminx.h
src/ccutil/params.h
src/ccutil/ocrclass.h
src/ccutil/platform.h
Expand Down
1 change: 0 additions & 1 deletion src/ccmain/linerec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
#include "lstmrecognizer.h"
#include "recodebeam.h"
#endif
#include "ndminx.h"
#include "pageres.h"
#include "tprintf.h"

Expand Down
1 change: 0 additions & 1 deletion src/ccstruct/blobs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
#include "emalloc.h"
#include "helpers.h"
#include "linlsq.h"
#include "ndminx.h"
#include "normalis.h"
#include "ocrblock.h"
#include "ocrrow.h"
Expand Down
1 change: 0 additions & 1 deletion src/ccstruct/detlinefit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@

#include "detlinefit.h"
#include "statistc.h"
#include "ndminx.h"
#include "tprintf.h"

#include <algorithm>
Expand Down
1 change: 0 additions & 1 deletion src/ccstruct/points.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
#include <algorithm>
#include <stdlib.h>
#include "helpers.h"
#include "ndminx.h"
#include "serialis.h"
#include "points.h"

Expand Down
1 change: 0 additions & 1 deletion src/ccstruct/rect.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@

#include <cmath>
#include "points.h"
#include "ndminx.h"
#include "scrollview.h"
#include "strngs.h"
#include "tprintf.h"
Expand Down
2 changes: 1 addition & 1 deletion src/ccutil/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ endif

pkginclude_HEADERS = \
genericvector.h helpers.h host.h memry.h \
ndminx.h ocrclass.h platform.h serialis.h strngs.h \
ocrclass.h platform.h serialis.h strngs.h \
tesscallback.h unichar.h

noinst_HEADERS = \
Expand Down
1 change: 0 additions & 1 deletion src/ccutil/bitvector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
#include "bitvector.h"
#include <string.h>
#include "helpers.h"
#include "ndminx.h"

#include <algorithm>

Expand Down
1 change: 0 additions & 1 deletion src/ccutil/genericvector.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@

#include "tesscallback.h"
#include "helpers.h"
#include "ndminx.h"
#include "serialis.h"
#include "strngs.h"

Expand Down
31 changes: 0 additions & 31 deletions src/ccutil/ndminx.h

This file was deleted.

1 change: 0 additions & 1 deletion src/classify/adaptmatch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
#include "intfx.h"
#include "intproto.h"
#include "mfoutline.h"
#include "ndminx.h"
#include "normfeat.h"
#include "normmatch.h"
#include "outfeat.h"
Expand Down
1 change: 0 additions & 1 deletion src/classify/errorcounter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#include "errorcounter.h"

#include "fontinfo.h"
#include "ndminx.h"
#include "sampleiterator.h"
#include "shapeclassifier.h"
#include "shapetable.h"
Expand Down
1 change: 0 additions & 1 deletion src/classify/intfx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
#include "helpers.h"
#include "intmatcher.h"
#include "linlsq.h"
#include "ndminx.h"
#include "normalis.h"
#include "statistc.h"
#include "trainingsample.h"
Expand Down
1 change: 0 additions & 1 deletion src/classify/intproto.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
#include "helpers.h"
#include "intproto.h"
#include "mfoutline.h"
#include "ndminx.h"
#include "picofeat.h"
#include "points.h"
#include "shapetable.h"
Expand Down
1 change: 0 additions & 1 deletion src/dict/permdawg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
#include "cutil.h"
#include "dawg.h"
#include "globals.h"
#include "ndminx.h"
#include "stopper.h"
#include "tprintf.h"
#include "params.h"
Expand Down
1 change: 0 additions & 1 deletion src/textord/alignedblob.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
#endif

#include "alignedblob.h"
#include "ndminx.h"

#include <algorithm>

Expand Down
1 change: 0 additions & 1 deletion src/textord/cjkpitch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
///////////////////////////////////////////////////////////////////////
#include "cjkpitch.h"
#include "genericvector.h"
#include "ndminx.h"
#include "topitch.h"
#include "tovars.h"

Expand Down
1 change: 0 additions & 1 deletion src/textord/colpartition.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@

#include "bbgrid.h"
#include "blobbox.h" // For BlobRegionType.
#include "ndminx.h"
#include "ocrblock.h"
#include "rect.h" // For TBOX.
#include "scrollview.h"
Expand Down
1 change: 0 additions & 1 deletion src/textord/colpartitionset.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
#endif

#include "colpartitionset.h"
#include "ndminx.h"
#include "workingpartset.h"
#include "tablefind.h"

Expand Down
1 change: 0 additions & 1 deletion src/textord/imagefind.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
#include "imagefind.h"
#include "colpartitiongrid.h"
#include "linlsq.h"
#include "ndminx.h"
#include "statistc.h"
#include "params.h"

Expand Down
1 change: 0 additions & 1 deletion src/textord/tabfind.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
#include "colpartitiongrid.h"
#include "detlinefit.h"
#include "linefind.h"
#include "ndminx.h"

#include <algorithm>

Expand Down
1 change: 0 additions & 1 deletion src/textord/tospace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
**********************************************************************/

#include "drawtord.h"
#include "ndminx.h"
#include "statistc.h"
#include "textord.h"
#include "tovars.h"
Expand Down
1 change: 0 additions & 1 deletion src/training/boxchar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@

#include "fileio.h"
#include "genericvector.h"
#include "ndminx.h"
#include "normstrngs.h"
#include "tprintf.h"
#include "unicharset.h"
Expand Down
1 change: 0 additions & 1 deletion src/training/commontraining.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
#include "intfeaturespace.h"
#include "mastertrainer.h"
#include "mf.h"
#include "ndminx.h"
#include "oldlist.h"
#include "params.h"
#include "shapetable.h"
Expand Down
1 change: 0 additions & 1 deletion src/training/mergenf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
#include "cluster.h"
#include "oldlist.h"
#include "protos.h"
#include "ndminx.h"
#include "ocrfeatures.h"
#include "const.h"
#include "featdefs.h"
Expand Down
1 change: 0 additions & 1 deletion src/training/mftraining.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
#include "mastertrainer.h"
#include "mergenf.h"
#include "mf.h"
#include "ndminx.h"
#include "ocrfeatures.h"
#include "oldlist.h"
#include "protos.h"
Expand Down
1 change: 0 additions & 1 deletion src/wordrec/gradechop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
#include "gradechop.h"
#include "wordrec.h"
#include "chop.h"
#include "ndminx.h"
#include <algorithm>
#include <cmath>

Expand Down
1 change: 0 additions & 1 deletion src/wordrec/gradechop.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
I n c l u d e s
----------------------------------------------------------------------*/
#include "seam.h"
#include "ndminx.h"

/*----------------------------------------------------------------------
M a c r o s
Expand Down
1 change: 0 additions & 1 deletion src/wordrec/pieces.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
#include "blobs.h"
#include "helpers.h"
#include "matrix.h"
#include "ndminx.h"
#include "ratngs.h"
#include "seam.h"
#include "wordrec.h"
Expand Down

0 comments on commit a9e2574

Please sign in to comment.