1ce44166c737b6737c3a0820bef10b074a5e36cf8Dmitriy Ivanov/*
2ce44166c737b6737c3a0820bef10b074a5e36cf8Dmitriy Ivanov * Copyright (C) 2014 The Android Open Source Project
3ce44166c737b6737c3a0820bef10b074a5e36cf8Dmitriy Ivanov *
4ce44166c737b6737c3a0820bef10b074a5e36cf8Dmitriy Ivanov * Licensed under the Apache License, Version 2.0 (the "License");
5ce44166c737b6737c3a0820bef10b074a5e36cf8Dmitriy Ivanov * you may not use this file except in compliance with the License.
6ce44166c737b6737c3a0820bef10b074a5e36cf8Dmitriy Ivanov * You may obtain a copy of the License at
7ce44166c737b6737c3a0820bef10b074a5e36cf8Dmitriy Ivanov *
8ce44166c737b6737c3a0820bef10b074a5e36cf8Dmitriy Ivanov *      http://www.apache.org/licenses/LICENSE-2.0
9ce44166c737b6737c3a0820bef10b074a5e36cf8Dmitriy Ivanov *
10ce44166c737b6737c3a0820bef10b074a5e36cf8Dmitriy Ivanov * Unless required by applicable law or agreed to in writing, software
11ce44166c737b6737c3a0820bef10b074a5e36cf8Dmitriy Ivanov * distributed under the License is distributed on an "AS IS" BASIS,
12ce44166c737b6737c3a0820bef10b074a5e36cf8Dmitriy Ivanov * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13ce44166c737b6737c3a0820bef10b074a5e36cf8Dmitriy Ivanov * See the License for the specific language governing permissions and
14ce44166c737b6737c3a0820bef10b074a5e36cf8Dmitriy Ivanov * limitations under the License.
15ce44166c737b6737c3a0820bef10b074a5e36cf8Dmitriy Ivanov */
16ce44166c737b6737c3a0820bef10b074a5e36cf8Dmitriy Ivanov
17ce44166c737b6737c3a0820bef10b074a5e36cf8Dmitriy Ivanovextern "C" int __attribute__((weak)) weak_func() {
18ce44166c737b6737c3a0820bef10b074a5e36cf8Dmitriy Ivanov  return 42;
19ce44166c737b6737c3a0820bef10b074a5e36cf8Dmitriy Ivanov}
20ce44166c737b6737c3a0820bef10b074a5e36cf8Dmitriy Ivanov
21