Commit e3a521f0 authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

Merge topic 'FindPackageModeMakefileTest-use-explicit-linkage'

03f22cd1

 FindPackageModeMakefileTest: Explicitly use C linkage
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !2328
parents 0d44d482 03f22cd1
#include "foo.h"
int foo()
{
return 1477;
......
#ifndef FOO_H
#define FOO_H
#ifdef __cplusplus
extern "C" {
#endif
int foo();
#ifdef __cplusplus
} // extern "C"
#endif
#endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment