Updated header guards to Be, Inc. style.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@713 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// Elf.h
|
||||
|
||||
#ifndef _sk_elf_h_
|
||||
#define _sk_elf_h_
|
||||
#ifndef _ELF_H
|
||||
#define _ELF_H
|
||||
|
||||
// types
|
||||
typedef uint32 Elf32_Addr;
|
||||
@@ -102,4 +102,4 @@ typedef struct {
|
||||
#define SHT_LOUSER 0x80000000
|
||||
#define SHT_HIUSER 0xffffffff
|
||||
|
||||
#endif // _sk_elf_h_
|
||||
#endif // _ELF_H
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Exception
|
||||
|
||||
#ifndef _sk_exception_
|
||||
#define _sk_exception_
|
||||
#ifndef _EXCEPTION_H
|
||||
#define _EXCEPTION_H
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
@@ -108,4 +108,4 @@ private:
|
||||
|
||||
}; // namespace StorageKit
|
||||
|
||||
#endif // _sk_exception_
|
||||
#endif // _EXCEPTION_H
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// LibBeAdapter.h
|
||||
|
||||
#ifndef _sk_lib_be_adapter_h_
|
||||
#define _sk_lib_be_adapter_h_
|
||||
#ifndef _LIB_BE_ADAPTER_H
|
||||
#define _LIB_BE_ADAPTER_H
|
||||
|
||||
#include <SupportDefs.h>
|
||||
|
||||
@@ -16,4 +16,4 @@ extern status_t swap_data_adapter(type_code type, void *data, size_t length,
|
||||
|
||||
extern bool is_type_swapped_adapter(type_code type);
|
||||
|
||||
#endif // _sk_lib_be_adapter_h_
|
||||
#endif // _LIB_BE_ADAPTER_H
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
OffsetFile interface declaration.
|
||||
*/
|
||||
|
||||
#ifndef _sk_offset_file_h_
|
||||
#define _sk_offset_file_h_
|
||||
#ifndef _OFFSET_FILE_H
|
||||
#define _OFFSET_FILE_H
|
||||
|
||||
#include <DataIO.h>
|
||||
#include <File.h>
|
||||
@@ -60,4 +60,4 @@ private:
|
||||
|
||||
}; // namespace StorageKit
|
||||
|
||||
#endif // _sk_offset_file_h_
|
||||
#endif // _OFFSET_FILE_H
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Pef.h
|
||||
|
||||
#ifndef _sk_pef_h_
|
||||
#define _sk_pef_h_
|
||||
#ifndef _PEF_H
|
||||
#define _PEF_H
|
||||
|
||||
#include <SupportDefs.h>
|
||||
|
||||
@@ -43,4 +43,4 @@ struct PEFSectionHeader {
|
||||
|
||||
const uint32 kPEFSectionHeaderSize = 28;
|
||||
|
||||
#endif // _sk_pef_h_
|
||||
#endif // _PEF_H
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
\file QueryPredicate.h
|
||||
BQuery predicate helper classes interface declaration.
|
||||
*/
|
||||
#ifndef _sk_query_predicate_h_
|
||||
#define _sk_query_predicate_h_
|
||||
#ifndef _QUERY_PREDICATE_H
|
||||
#define _QUERY_PREDICATE_H
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -203,4 +203,4 @@ private:
|
||||
|
||||
}; // namespace StorageKit
|
||||
|
||||
#endif // _sk_query_predicate_h_
|
||||
#endif // _QUERY_PREDICATE_H
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
ResourceFile interface declaration.
|
||||
*/
|
||||
|
||||
#ifndef _sk_resource_file_h_
|
||||
#define _sk_resource_file_h_
|
||||
#ifndef _RESOURCE_FILE_H
|
||||
#define _RESOURCE_FILE_H
|
||||
|
||||
#include <ByteOrder.h>
|
||||
|
||||
@@ -125,4 +125,4 @@ ResourceFile::_GetUInt32(uint32 value)
|
||||
|
||||
}; // namespace StorageKit
|
||||
|
||||
#endif // _sk_resource_file_h_
|
||||
#endif // _RESOURCE_FILE_H
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
ResourceItem interface declaration.
|
||||
*/
|
||||
|
||||
#ifndef _sk_resource_item_h_
|
||||
#define _sk_resource_item_h_
|
||||
#ifndef _RESOURCE_ITEM_H
|
||||
#define _RESOURCE_ITEM_H
|
||||
|
||||
#include <DataIO.h>
|
||||
#include <String.h>
|
||||
@@ -84,4 +84,4 @@ private:
|
||||
|
||||
}; // namespace StorageKit
|
||||
|
||||
#endif // _sk_resource_item_h_
|
||||
#endif // _RESOURCE_ITEM_H
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
ResourcesContainer interface declaration.
|
||||
*/
|
||||
|
||||
#ifndef _sk_resources_container_h_
|
||||
#define _sk_resources_container_h_
|
||||
#ifndef _RESOURCES_CONTAINER_H
|
||||
#define _RESOURCES_CONTAINER_H
|
||||
|
||||
#include <List.h>
|
||||
|
||||
@@ -72,4 +72,4 @@ private:
|
||||
|
||||
}; // namespace StorageKit
|
||||
|
||||
#endif // _sk_resources_container_h_
|
||||
#endif // _RESOURCES_CONTAINER_H
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// ResourcesDefs.h
|
||||
|
||||
#ifndef _sk_resources_defs_h_
|
||||
#define _sk_resources_defs_h_
|
||||
#ifndef _DEF_RESOURCES_H
|
||||
#define _DEF_RESOURCES_H
|
||||
|
||||
#include <SupportDefs.h>
|
||||
|
||||
@@ -102,4 +102,4 @@ struct resource_info_table_end {
|
||||
const uint32 kResourceInfoTableEndSize = 8;
|
||||
|
||||
|
||||
#endif // _sk_resources_defs_h_
|
||||
#endif // _DEF_RESOURCES_H
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
to communicate with the kernel
|
||||
*/
|
||||
|
||||
#ifndef _sk_kernel_interface_h_
|
||||
#define _sk_kernel_interface_h_
|
||||
#ifndef _STORAGE_KIT_KERNEL_INTERFACE_H
|
||||
#define _STORAGE_KIT_KERNEL_INTERFACE_H
|
||||
|
||||
#include <SupportKit.h>
|
||||
#include <StorageDefs.Private.h>
|
||||
@@ -331,4 +331,4 @@ status_t remove(const char *path);
|
||||
|
||||
} // namespace StorageKit
|
||||
|
||||
#endif
|
||||
#endif // _STORAGE_KIT_KERNEL_INTERFACE_H
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
\file sniffer/DisjList.h
|
||||
Mime Sniffer Disjunction List declarations
|
||||
*/
|
||||
#ifndef _sk_sniffer_disj_list_h_
|
||||
#define _sk_sniffer_disj_list_h_
|
||||
#ifndef _SNIFFER_DISJ_LIST_H
|
||||
#define _SNIFFER_DISJ_LIST_H
|
||||
|
||||
class BPositionIO;
|
||||
|
||||
@@ -28,4 +28,4 @@ protected:
|
||||
|
||||
}
|
||||
|
||||
#endif // _sk_sniffer_disj_list_h_
|
||||
#endif // _SNIFFER_DISJ_LIST_H
|
||||
@@ -6,8 +6,8 @@
|
||||
\file sniffer/Err.h
|
||||
Mime Sniffer Error class declarations
|
||||
*/
|
||||
#ifndef _sk_sniffer_err_h_
|
||||
#define _sk_sniffer_err_h_
|
||||
#ifndef _SNIFFER_ERR_H
|
||||
#define _SNIFFER_ERR_H
|
||||
|
||||
#include <SupportDefs.h>
|
||||
#include <string>
|
||||
@@ -49,4 +49,4 @@ private:
|
||||
|
||||
}
|
||||
|
||||
#endif // _sk_sniffer_err_h_
|
||||
#endif // _SNIFFER_ERR_H
|
||||
@@ -6,8 +6,8 @@
|
||||
\file sniffer/Parser.h
|
||||
MIME sniffer rule parser declarations
|
||||
*/
|
||||
#ifndef _sk_sniffer_parser_h_
|
||||
#define _sk_sniffer_parser_h_
|
||||
#ifndef _SNIFFER_PARSER_H
|
||||
#define _SNIFFER_PARSER_H
|
||||
|
||||
#include <SupportDefs.h>
|
||||
#include <sniffer/Err.h>
|
||||
@@ -326,5 +326,5 @@ private:
|
||||
} // namespace Sniffer
|
||||
|
||||
|
||||
#endif // _sk_sniffer_parser_h_
|
||||
#endif // _SNIFFER_PARSER_H
|
||||
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
\file sniffer/Pattern.h
|
||||
Mime Sniffer Pattern declarations
|
||||
*/
|
||||
#ifndef _sk_sniffer_pattern_h_
|
||||
#define _sk_sniffer_pattern_h_
|
||||
#ifndef _SNIFFER_PATTERN_H
|
||||
#define _SNIFFER_PATTERN_H
|
||||
|
||||
#include <SupportDefs.h>
|
||||
#include <string>
|
||||
@@ -48,4 +48,4 @@ private:
|
||||
|
||||
}
|
||||
|
||||
#endif // _sk_sniffer_pattern_h_
|
||||
#endif // _SNIFFER_PATTERN_H
|
||||
@@ -6,8 +6,8 @@
|
||||
\file sniffer/PatternList.h
|
||||
MIME sniffer pattern list declarations
|
||||
*/
|
||||
#ifndef _sk_sniffer_pattern_list_h_
|
||||
#define _sk_sniffer_pattern_list_h_
|
||||
#ifndef _SNIFFER_PATTERN_LIST_H
|
||||
#define _SNIFFER_PATTERN_LIST_H
|
||||
|
||||
#include <sniffer/DisjList.h>
|
||||
#include <sniffer/Range.h>
|
||||
@@ -40,4 +40,4 @@ private:
|
||||
|
||||
}
|
||||
|
||||
#endif // _sk_sniffer_pattern_list_h_
|
||||
#endif // _SNIFFER_PATTERN_LIST_H
|
||||
@@ -6,8 +6,8 @@
|
||||
\file sniffer/RPattern.h
|
||||
Mime Sniffer RPattern declarations
|
||||
*/
|
||||
#ifndef _sk_sniffer_r_pattern_h_
|
||||
#define _sk_sniffer_r_pattern_h_
|
||||
#ifndef _SNIFFER_R_PATTERN_H
|
||||
#define _SNIFFER_R_PATTERN_H
|
||||
|
||||
#include <sniffer/Range.h>
|
||||
|
||||
@@ -35,4 +35,4 @@ private:
|
||||
|
||||
}
|
||||
|
||||
#endif // _sk_sniffer_r_pattern_h_
|
||||
#endif // _SNIFFER_R_PATTERN_H
|
||||
@@ -6,8 +6,8 @@
|
||||
\file sniffer/RPatternList.h
|
||||
MIME sniffer rpattern list declarations
|
||||
*/
|
||||
#ifndef _sk_sniffer_r_pattern_list_h_
|
||||
#define _sk_sniffer_r_pattern_list_h_
|
||||
#ifndef _SNIFFER_R_PATTERN_LIST_H
|
||||
#define _SNIFFER_R_PATTERN_LIST_H
|
||||
|
||||
#include <sniffer/DisjList.h>
|
||||
#include <vector>
|
||||
@@ -36,4 +36,4 @@ private:
|
||||
|
||||
}
|
||||
|
||||
#endif // _sk_sniffer_r_pattern_list_h_
|
||||
#endif // _SNIFFER_R_PATTERN_LIST_H
|
||||
@@ -6,8 +6,8 @@
|
||||
\file sniffer/Range.h
|
||||
MIME sniffer range declarations
|
||||
*/
|
||||
#ifndef _sk_sniffer_range_h_
|
||||
#define _sk_sniffer_range_h_
|
||||
#ifndef _SNIFFER_RANGE_H
|
||||
#define _SNIFFER_RANGE_H
|
||||
|
||||
#include <SupportDefs.h>
|
||||
|
||||
@@ -35,4 +35,4 @@ private:
|
||||
|
||||
}
|
||||
|
||||
#endif // _sk_sniffer_range_h_
|
||||
#endif // _SNIFFER_RANGE_H
|
||||
@@ -6,8 +6,8 @@
|
||||
\file sniffer/Rule.h
|
||||
Mime sniffer rule declarations
|
||||
*/
|
||||
#ifndef _sk_sniffer_rule_h_
|
||||
#define _sk_sniffer_rule_h_
|
||||
#ifndef _SNIFFER_RULE_H
|
||||
#define _SNIFFER_RULE_H
|
||||
|
||||
#include <SupportDefs.h>
|
||||
#include <vector>
|
||||
@@ -42,4 +42,4 @@ private:
|
||||
|
||||
}
|
||||
|
||||
#endif // _sk_sniffer_rule_h_
|
||||
#endif // _SNIFFER_RULE_H
|
||||
@@ -8,8 +8,8 @@
|
||||
Storage Kit support functions.
|
||||
*/
|
||||
|
||||
#ifndef _sk_storage_support_h_
|
||||
#define _sk_storage_support_h_
|
||||
#ifndef _STORAGE_SUPPORT_H
|
||||
#define _STORAGE_SUPPORT_H
|
||||
|
||||
|
||||
namespace StorageKit {
|
||||
@@ -39,4 +39,4 @@ status_t check_path_name(const char *path);
|
||||
|
||||
} // namespace StorageKit
|
||||
|
||||
#endif // _sk_storage_support_h_
|
||||
#endif // _STORAGE_SUPPORT_H
|
||||
|
||||
Reference in New Issue
Block a user