mirror of
https://github.com/webmproject/libwebp.git
synced 2026-02-17 23:39:30 +01:00
drop: ifdef __cplusplus checks from C files
the prototypes are already marked in the headers Change-Id: I172fe742200c939ca32a70a2299809b8baf9b094
This commit is contained in:
@@ -13,10 +13,6 @@
|
||||
|
||||
#include "./quant_levels_dec.h"
|
||||
|
||||
#if defined(__cplusplus) || defined(c_plusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
int DequantizeLevels(uint8_t* const data, int width, int height,
|
||||
int row, int num_rows) {
|
||||
if (data == NULL || width <= 0 || height <= 0 || row < 0 || num_rows < 0 ||
|
||||
@@ -26,6 +22,3 @@ int DequantizeLevels(uint8_t* const data, int width, int height,
|
||||
return 1;
|
||||
}
|
||||
|
||||
#if defined(__cplusplus) || defined(c_plusplus)
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user