summaryrefslogtreecommitdiff
path: root/core/src/fxcodec/lbmp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2016-02-18 15:02:55 -0500
committerDan Sinclair <dsinclair@chromium.org>2016-02-18 15:02:55 -0500
commitc7cd809fccd7c5f90c8a2db7ddec7289f9630f53 (patch)
tree8ed5c89990a552395ac3943330eb6776dc1f41e5 /core/src/fxcodec/lbmp
parentc5ac0202004cd38071a9f6f0d7f3e5d8669ccfbb (diff)
downloadpdfium-c7cd809fccd7c5f90c8a2db7ddec7289f9630f53.tar.xz
Fixup incorrect include guards.
This CL updates include guards throughout the code base to be in the chromium style. BUG=pdfium:65 R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1707893004 .
Diffstat (limited to 'core/src/fxcodec/lbmp')
-rw-r--r--core/src/fxcodec/lbmp/fx_bmp.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/src/fxcodec/lbmp/fx_bmp.h b/core/src/fxcodec/lbmp/fx_bmp.h
index 06bfe1e99d..610cffc0df 100644
--- a/core/src/fxcodec/lbmp/fx_bmp.h
+++ b/core/src/fxcodec/lbmp/fx_bmp.h
@@ -4,6 +4,9 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
+#ifndef CORE_SRC_FXCODEC_LBMP_FX_BMP_H_
+#define CORE_SRC_FXCODEC_LBMP_FX_BMP_H_
+
#include <setjmp.h>
#include "core/include/fxcrt/fx_basic.h"
@@ -60,6 +63,7 @@ typedef struct tagBmpInfoHeader {
FX_DWORD biClrImportant;
} BmpInfoHeader, *BmpInfoHeaderPtr;
#pragma pack()
+
typedef struct tag_bmp_decompress_struct bmp_decompress_struct;
typedef bmp_decompress_struct* bmp_decompress_struct_p;
typedef bmp_decompress_struct_p* bmp_decompress_struct_pp;
@@ -148,8 +152,11 @@ struct tag_bmp_compress_struct {
uint8_t bit_type;
#endif
};
+
bmp_compress_struct_p _bmp_create_compress();
void _bmp_destroy_compress(bmp_compress_struct_p bmp_ptr);
FX_BOOL _bmp_encode_image(bmp_compress_struct_p bmp_ptr,
uint8_t*& dst_buf,
FX_DWORD& dst_size);
+
+#endif // CORE_SRC_FXCODEC_LBMP_FX_BMP_H_