Gentoo Archives: gentoo-commits

From: "Petteri Räty" <betelgeuse@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/libbash:master commit in: src/
Date: Sat, 02 Apr 2011 15:50:47
Message-Id: 921104b14a75583b48ee3926b8e8ee23d908b5b3.betelgeuse@gentoo
1 commit: 921104b14a75583b48ee3926b8e8ee23d908b5b3
2 Author: Mu Qiao <qiaomuf <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 2 02:55:50 2011 +0000
4 Commit: Petteri Räty <betelgeuse <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 2 07:16:38 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/libbash.git;a=commit;h=921104b1
7
8 Add a common header for visibility macros
9
10 ---
11 src/common.h | 31 +++++++++++++++++++++++++++++++
12 1 files changed, 31 insertions(+), 0 deletions(-)
13
14 diff --git a/src/common.h b/src/common.h
15 new file mode 100644
16 index 0000000..121d5bb
17 --- /dev/null
18 +++ b/src/common.h
19 @@ -0,0 +1,31 @@
20 +/*
21 + Please use git log for copyright holder and year information
22 +
23 + This file is part of libbash.
24 +
25 + libbash is free software: you can redistribute it and/or modify
26 + it under the terms of the GNU General Public License as published by
27 + the Free Software Foundation, either version 2 of the License, or
28 + (at your option) any later version.
29 +
30 + libbash is distributed in the hope that it will be useful,
31 + but WITHOUT ANY WARRANTY; without even the implied warranty of
32 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
33 + GNU General Public License for more details.
34 +
35 + You should have received a copy of the GNU General Public License
36 + along with libbash. If not, see <http://www.gnu.org/licenses/>.
37 +*/
38 +///
39 +/// \file common.h
40 +/// \author Mu Qiao
41 +/// \brief common macros and includes
42 +///
43 +
44 +#ifndef COMMON_H
45 +#define COMMON_H
46 +
47 +#define LIBBASH_API __attribute__((visibility("default")))
48 +#define LIBBASH_LOCAL __attribute__((visibility("hidden")))
49 +
50 +#endif