diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2016-02-23 16:04:59 -0500 |
---|---|---|
committer | Dan Sinclair <dsinclair@chromium.org> | 2016-02-23 16:04:59 -0500 |
commit | affe4b09575b297747e66bd0b807d2b1b04822fe (patch) | |
tree | 249ef3593f4e4187454d70da14f0f0624a932039 /core/include/fxcrt/fx_system.h | |
parent | c145aeb2bf13ac408fc3e8233acca43d4251bbdc (diff) | |
download | pdfium-affe4b09575b297747e66bd0b807d2b1b04822fe.tar.xz |
Remove FXSYS_Div.
This is just a wrapper for (a) / (b). Inline the divide.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1727793002 .
Diffstat (limited to 'core/include/fxcrt/fx_system.h')
-rw-r--r-- | core/include/fxcrt/fx_system.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/core/include/fxcrt/fx_system.h b/core/include/fxcrt/fx_system.h index 4eb217a094..920c821916 100644 --- a/core/include/fxcrt/fx_system.h +++ b/core/include/fxcrt/fx_system.h @@ -269,7 +269,6 @@ int64_t FXSYS_atoi64(const FX_CHAR* str); int64_t FXSYS_wtoi64(const FX_WCHAR* str); const FX_CHAR* FXSYS_i64toa(int64_t value, FX_CHAR* str, int radix); int FXSYS_round(FX_FLOAT f); -#define FXSYS_Div(a, b) ((a) / (b)) #define FXSYS_MulDiv(a, b, c) ((a) * (b) / (c)) #define FXSYS_sqrt2(a, b) (FX_FLOAT) FXSYS_sqrt((a) * (a) + (b) * (b)) #ifdef __cplusplus |