Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(177)

Side by Side Diff: ports/glibc-compat/src/libc-symbols.h

Issue 1260083004: Add needed functions to glibc-compat for pkg (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /*
2 * Copyright 2015 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file.
5 */
1 #ifndef _LIBC_SYMBOLS_H 6 #ifndef _LIBC_SYMBOLS_H
2 #define _LIBC_SYMBOLS_H 1 7 #define _LIBC_SYMBOLS_H 1
3 8
4 #define libc_hidden_def(x) 9 #define libc_hidden_def(x)
5 #define libc_hidden_weak(x) 10 #define libc_hidden_weak(x)
6 #define libc_hidden_proto(x) 11 #define libc_hidden_proto(x)
7 #define libc_hidden_data_def(x) 12 #define libc_hidden_data_def(x)
8 #define libresolv_hidden_def(x) 13 #define libresolv_hidden_def(x)
9 #define libresolv_hidden_weak(x) 14 #define libresolv_hidden_weak(x)
10 #define libresolv_hidden_data_def(x) 15 #define libresolv_hidden_data_def(x)
11 #define libresolv_hidden_proto(x) 16 #define libresolv_hidden_proto(x)
12 #define static_link_warning(x) 17 #define static_link_warning(x)
13 #define libc_freeres_ptr(x) x 18 #define libc_freeres_ptr(x) x
14 #define DL_CALL_FCT(x,y) x y 19 #define DL_CALL_FCT(x,y) x y
15 #define attribute_hidden 20 #define attribute_hidden
16 #define internal_function 21 #define internal_function
17 22 #define weak_alias(name, aliasname) _weak_alias (name, aliasname)
23 #define _weak_alias(name, aliasname) \
24 extern __typeof (name) aliasname __attribute__ ((weak, alias (#name)));
18 25
19 #endif 26 #endif
20
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698