*: make "pragma GCC visibility push(hidden)" less ugly

This commit is contained in:
Denis Vlasenko
2009-04-09 12:35:13 +00:00
parent 327fd47f36
commit f81e8dbc74
43 changed files with 158 additions and 266 deletions

View File

@@ -10,9 +10,8 @@
* GNU Lesser General Public License.
* %End-Header%
*/
#ifndef _BLKID_BLKID_H
#define _BLKID_BLKID_H
#ifndef BLKID_BLKID_H
#define BLKID_BLKID_H 1
#include <sys/types.h>
#include <linux/types.h>
@@ -102,4 +101,4 @@ extern int blkid_parse_tag_string(const char *token, char **ret_type,
}
#endif
#endif /* _BLKID_BLKID_H */
#endif

View File

@@ -10,9 +10,8 @@
* GNU Lesser General Public License.
* %End-Header%
*/
#ifndef _BLKID_BLKIDP_H
#define _BLKID_BLKIDP_H
#ifndef BLKID_BLKIDP_H
#define BLKID_BLKIDP_H 1
#include <sys/types.h>
#include <stdio.h>
@@ -184,4 +183,4 @@ extern void blkid_free_dev(blkid_dev dev);
}
#endif
#endif /* _BLKID_BLKIDP_H */
#endif

View File

@@ -1,6 +1,6 @@
/* vi: set sw=4 ts=4: */
#if !defined(_BLKID_LIST_H) && !defined(LIST_HEAD)
#define _BLKID_LIST_H
#define BLKID_LIST_H 1
#ifdef __cplusplus
extern "C" {
@@ -70,4 +70,4 @@ void list_splice(struct list_head *list, struct list_head *head);
}
#endif
#endif /* _BLKID_LIST_H */
#endif

View File

@@ -11,9 +11,8 @@
* GNU Lesser General Public License.
* %End-Header%
*/
#ifndef _BLKID_PROBE_H
#define _BLKID_PROBE_H
#ifndef BLKID_PROBE_H
#define BLKID_PROBE_H 1
#include <linux/types.h>

View File

@@ -6,8 +6,8 @@
* instead. This makes upgrade between e2fsprogs versions easy.
*/
#ifndef __E2FSBB_H__
#define __E2FSBB_H__ 1
#ifndef E2FSBB_H
#define E2FSBB_H 1
#include "libbb.h"
@@ -40,4 +40,4 @@ typedef long errcode_t;
#define WORDS_BIGENDIAN 1
#endif
#endif /* __E2FSBB_H__ */
#endif

View File

@@ -13,9 +13,8 @@
*
* Copyright (C) 1991, 1992 Linus Torvalds
*/
#ifndef _LINUX_EXT2_FS_H
#define _LINUX_EXT2_FS_H
#ifndef LINUX_EXT2_FS_H
#define LINUX_EXT2_FS_H 1
#include "ext2_types.h" /* Changed from linux/types.h */
@@ -567,4 +566,4 @@ struct ext2_dir_entry_2 {
#define EXT2_DIR_REC_LEN(name_len) (((name_len) + 8 + EXT2_DIR_ROUND) & \
~EXT2_DIR_ROUND)
#endif /* _LINUX_EXT2_FS_H */
#endif

View File

@@ -9,9 +9,8 @@
* License.
* %End-Header%
*/
#ifndef _EXT2FS_EXT2_IO_H
#define _EXT2FS_EXT2_IO_H
#ifndef EXT2FS_EXT2_IO_H
#define EXT2FS_EXT2_IO_H 1
/*
* ext2_loff_t is defined here since unix_io.c needs it.
@@ -110,5 +109,4 @@ extern void (*test_io_cb_write_blk)
extern void (*test_io_cb_set_blksize)
(int blksize, errcode_t err);
#endif /* _EXT2FS_EXT2_IO_H */
#endif

View File

@@ -9,9 +9,8 @@
* License.
* %End-Header%
*/
#ifndef _EXT2FS_EXT2FS_H
#define _EXT2FS_EXT2FS_H
#ifndef EXT2FS_EXT2FS_H
#define EXT2FS_EXT2FS_H 1
#define EXT2FS_ATTR(x)
@@ -920,4 +919,4 @@ extern blk_t ext2fs_inode_data_blocks(ext2_filsys fs,
}
#endif
#endif /* _EXT2FS_EXT2FS_H */
#endif

View File

@@ -13,9 +13,8 @@
* Definitions for transaction data structures for the buffer cache
* filesystem journaling support.
*/
#ifndef _LINUX_JBD_H
#define _LINUX_JBD_H
#ifndef LINUX_JBD_H
#define LINUX_JBD_H 1
#include <sys/types.h>
#include <linux/types.h>
@@ -233,4 +232,4 @@ extern void journal_brelse_array(struct buffer_head *b[], int n);
extern void journal_destroy_revoke(journal_t *);
#endif /* _LINUX_JBD_H */
#endif

View File

@@ -1,6 +1,6 @@
/* vi: set sw=4 ts=4: */
#ifndef _LINUX_LIST_H
#define _LINUX_LIST_H
#ifndef LINUX_LIST_H
#define LINUX_LIST_H 1
/*
* Simple doubly linked list implementation.

View File

@@ -32,9 +32,8 @@
* DAMAGE.
* %End-Header%
*/
#ifndef _UUID_UUID_H
#define _UUID_UUID_H
#ifndef UUID_UUID_H
#define UUID_UUID_H 1
#include <sys/types.h>
#include <time.h>