diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-04-03 14:50:05 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-04-03 19:15:09 +0000 |
commit | 7e7c649237b9d537226e3026aa9b5831862eee5b (patch) | |
tree | a905847ec19b45c45e54e50ae527d2acbefa7f97 /third_party/libjpeg/jerror.h | |
parent | 044a70da2aeaa5f4c73abfb75e81f79edd9014b8 (diff) | |
download | pdfium-7e7c649237b9d537226e3026aa9b5831862eee5b.tar.xz |
Drop FXSYS_ from string methods
This Cl drops the FXSYS_ from string methods which are the same on
all platforms.
Bug: pdfium:694
Change-Id: I1698aafd84f40474997549ae91ce35603377e303
Reviewed-on: https://pdfium-review.googlesource.com/3597
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'third_party/libjpeg/jerror.h')
-rw-r--r-- | third_party/libjpeg/jerror.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/third_party/libjpeg/jerror.h b/third_party/libjpeg/jerror.h index 06d344067a..7ac6575459 100644 --- a/third_party/libjpeg/jerror.h +++ b/third_party/libjpeg/jerror.h @@ -227,10 +227,10 @@ JMESSAGE(JWRN_TOO_MUCH_DATA, "Application transferred too many scanlines") (cinfo)->err->msg_parm.i[2] = (p3), \ (cinfo)->err->msg_parm.i[3] = (p4), \ (*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo))) -#define ERREXITS(cinfo,code,str) \ - ((cinfo)->err->msg_code = (code), \ - FXSYS_strncpy((cinfo)->err->msg_parm.s, (str), JMSG_STR_PARM_MAX), \ - (*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo))) +#define ERREXITS(cinfo,code,str) \ + ((cinfo)->err->msg_code = (code), \ + strncpy((cinfo)->err->msg_parm.s, (str), JMSG_STR_PARM_MAX), \ + (*(cinfo)->err->error_exit)((j_common_ptr)(cinfo))) #define MAKESTMT(stuff) do { stuff } while (0) @@ -283,9 +283,9 @@ JMESSAGE(JWRN_TOO_MUCH_DATA, "Application transferred too many scanlines") _mp[4] = (p5); _mp[5] = (p6); _mp[6] = (p7); _mp[7] = (p8); \ (cinfo)->err->msg_code = (code); \ (*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl)); ) -#define TRACEMSS(cinfo,lvl,code,str) \ - ((cinfo)->err->msg_code = (code), \ - FXSYS_strncpy((cinfo)->err->msg_parm.s, (str), JMSG_STR_PARM_MAX), \ - (*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl))) +#define TRACEMSS(cinfo,lvl,code,str) \ + ((cinfo)->err->msg_code = (code), \ + strncpy((cinfo)->err->msg_parm.s, (str), JMSG_STR_PARM_MAX), \ + (*(cinfo)->err->emit_message)((j_common_ptr)(cinfo), (lvl))) #endif /* JERROR_H */ |