ceph: fix straggler header ifdef guards

This commit is contained in:
Sage Weil 2010-06-17 10:51:40 -07:00
parent f4b9d9d847
commit 4d66a72a5a
9 changed files with 18 additions and 18 deletions

View File

@ -12,8 +12,8 @@
*
*/
#ifndef __EBOFS_CSUM_H
#define __EBOFS_CSUM_H
#ifndef CEPH_EBOFS_CSUM_H
#define CEPH_EBOFS_CSUM_H
typedef uint64_t csum_t;

View File

@ -12,8 +12,8 @@
*
*/
#ifndef __CEPH_ATOMIC_H
#define __CEPH_ATOMIC_H
#ifndef CEPH_ATOMIC_H
#define CEPH_ATOMIC_H
#ifdef __CEPH__
# include "acconfig.h"

View File

@ -1,5 +1,5 @@
#ifndef CEPH_FRAG_H
#define CEPH_FRAG_H
#ifndef FS_CEPH_FRAG_H
#define FS_CEPH_FRAG_H
/*
* "Frags" are a way to describe a subset of a 32-bit number space,

View File

@ -1,5 +1,5 @@
#ifndef CEPH_HASH_H
#define CEPH_HASH_H
#ifndef FS_CEPH_HASH_H
#define FS_CEPH_HASH_H
#define CEPH_STR_HASH_LINUX 0x1 /* linux dcache hash */
#define CEPH_STR_HASH_RJENKINS 0x2 /* robert jenkins' */

View File

@ -1,5 +1,5 @@
#ifndef _CEPH_INTTYPES_H
#define _CEPH_INTTYPES_H
#ifndef CEPH_INTTYPES_H
#define CEPH_INTTYPES_H
#include <stdint.h>
#include <linux/types.h>

View File

@ -10,8 +10,8 @@
*
*/
#ifndef _FS_CEPH_RBD
#define _FS_CEPH_RBD
#ifndef CEPH_RBD_TYPES_H
#define CEPH_RBD_TYPES_H
#include <linux/types.h>

View File

@ -12,8 +12,8 @@
*
*/
#ifndef __CEPH_TYPES_H
#define __CEPH_TYPES_H
#ifndef CEPH_TYPES_H
#define CEPH_TYPES_H
// this is needed for ceph_fs to compile in userland
#include "inttypes.h"

View File

@ -12,8 +12,8 @@
*
*/
#ifndef __UTIME_H
#define __UTIME_H
#ifndef CEPH_UTIME_H
#define CEPH_UTIME_H
#include <math.h>
#include <sys/time.h>

View File

@ -2,8 +2,8 @@
print_all() {
echo "#ifndef __CEPH_VERSION_H"
echo "#define __CEPH_VERSION_H"
echo "#ifndef CEPH_VERSION_H"
echo "#define CEPH_VERSION_H"
echo
echo "#define CEPH_GIT_VER `git rev-parse HEAD 2>/dev/null`"
echo