mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-13 14:34:33 +02:00
examples: slight cleanup
spelling/indent/condense a few lines removal/restriction of extern "C" usage add const where applicable Change-Id: Idd49b3498b1d7fc391724b4cde63706022217cb0
This commit is contained in:
@ -40,14 +40,18 @@
|
||||
#include "webp/decode.h"
|
||||
#include "stopwatch.h"
|
||||
|
||||
static int verbose = 0;
|
||||
#ifndef WEBP_DLL
|
||||
#if defined(__cplusplus) || defined(c_plusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
static int verbose = 0;
|
||||
#ifndef WEBP_DLL
|
||||
extern void* VP8GetCPUInfo; // opaque forward declaration.
|
||||
|
||||
#if defined(__cplusplus) || defined(c_plusplus)
|
||||
} // extern "C"
|
||||
#endif
|
||||
#endif // WEBP_DLL
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
@ -493,7 +497,3 @@ int main(int argc, const char *argv[]) {
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
#if defined(__cplusplus) || defined(c_plusplus)
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user