diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-08-19 10:28:50 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-08-19 10:28:50 -0700 |
commit | 71c15a5e6652952a94ba3a3ef7ac0392e3a06962 (patch) | |
tree | c6983e985c49e4f30906082b73045db14d8cb481 /fpdfsdk/src/fpdftext.cpp | |
parent | a2b3ae23556fb2f1adbc008574f33bf365476af9 (diff) | |
download | pdfium-71c15a5e6652952a94ba3a3ef7ac0392e3a06962.tar.xz |
Extern in .cpp files is a code smell.
Part 1. Move to headers so compiler can type check against
the definitions.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1299963002 .
Diffstat (limited to 'fpdfsdk/src/fpdftext.cpp')
-rw-r--r-- | fpdfsdk/src/fpdftext.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fpdfsdk/src/fpdftext.cpp b/fpdfsdk/src/fpdftext.cpp index 4030b7172b..43edd525e8 100644 --- a/fpdfsdk/src/fpdftext.cpp +++ b/fpdfsdk/src/fpdftext.cpp @@ -12,9 +12,6 @@ #include <tchar.h> #endif -// jabdelmalek: commented out to build on Linux. Not used. -// extern HANDLE g_hModule; - DLLEXPORT FPDF_TEXTPAGE STDCALL FPDFText_LoadPage(FPDF_PAGE page) { if (!page) return NULL; |