Skip to content

Commit

Permalink
include/ofi_: Adjust defines in renamed header files
Browse files Browse the repository at this point in the history
Convert _FI_XXX_H_ defines to reflect updated file names.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
  • Loading branch information
shefty committed Feb 2, 2018
1 parent 7976c59 commit 98862ac
Show file tree
Hide file tree
Showing 17 changed files with 51 additions and 51 deletions.
6 changes: 3 additions & 3 deletions include/ofi.h
Expand Up @@ -31,8 +31,8 @@
* SOFTWARE.
*/

#ifndef _FI_H_
#define _FI_H_
#ifndef _OFI_H_
#define _OFI_H_

#include "config.h"

Expand Down Expand Up @@ -207,4 +207,4 @@ static inline uint64_t ofi_key2idx(struct ofi_key_idx *key_idx, uint64_t key)
}
#endif

#endif /* _FI_H_ */
#endif /* _OFI_H_ */
6 changes: 3 additions & 3 deletions include/ofi_abi.h
Expand Up @@ -30,8 +30,8 @@
* SOFTWARE.
*/

#ifndef _FI_ABI_H_
#define _FI_ABI_H_
#ifndef _OFI_ABI_H_
#define _OFI_ABI_H_

#include "config.h"

Expand Down Expand Up @@ -169,4 +169,4 @@ struct fi_cq_err_entry_1_0 {
}
#endif

#endif /* _FI_ABI_H_ */
#endif /* _OFI_ABI_H_ */
6 changes: 3 additions & 3 deletions include/ofi_atom.h
Expand Up @@ -30,8 +30,8 @@
* SOFTWARE.
*/

#ifndef _FI_ATOM_H_
#define _FI_ATOM_H_
#ifndef _OFI_ATOM_H_
#define _OFI_ATOM_H_

#include "config.h"

Expand Down Expand Up @@ -266,4 +266,4 @@ OFI_ATOMIC_DEFINE(64)
}
#endif

#endif /* _FI_ATOM_H_ */
#endif /* _OFI_ATOM_H_ */
6 changes: 3 additions & 3 deletions include/ofi_enosys.h
Expand Up @@ -30,8 +30,8 @@
* SOFTWARE.
*/

#ifndef _FI_ENOSYS_H_
#define _FI_ENOSYS_H_
#ifndef _OFI_ENOSYS_H_
#define _OFI_ENOSYS_H_

#include <ofi_osd.h>

Expand Down Expand Up @@ -458,4 +458,4 @@ int fi_no_av_remove(struct fid_av *av, fi_addr_t *fi_addr, size_t count,
}
#endif

#endif /* _FI_ENOSYS_H_ */
#endif /* _OFI_ENOSYS_H_ */
6 changes: 3 additions & 3 deletions include/ofi_file.h
Expand Up @@ -30,8 +30,8 @@
* SOFTWARE.
*/

#ifndef _FI_FILE_H_
#define _FI_FILE_H_
#ifndef _OFI_FILE_H_
#define _OFI_FILE_H_

#include "config.h"

Expand All @@ -56,4 +56,4 @@ int fi_fd_nonblock(int fd);
}
#endif

#endif /* _FI_FILE_H_ */
#endif /* _OFI_FILE_H_ */
6 changes: 3 additions & 3 deletions include/ofi_indexer.h
Expand Up @@ -32,8 +32,8 @@
*
*/

#if !defined(INDEXER_H)
#define INDEXER_H
#ifndef _OFI_INDEXER_H_
#define _OFI_INDEXER_H_

#include "config.h"

Expand Down Expand Up @@ -116,4 +116,4 @@ static inline void *ofi_idm_lookup(struct index_map *idm, int index)
ofi_idm_at(idm, index) : NULL;
}

#endif /* INDEXER_H */
#endif /* _OFI_INDEXER_H_ */
6 changes: 3 additions & 3 deletions include/ofi_iov.h
Expand Up @@ -31,8 +31,8 @@
*
*/

#if !defined(IOV_H)
#define IOV_H
#ifndef _OFI_IOV_H_
#define _OFI_IOV_H_

#include "config.h"

Expand Down Expand Up @@ -126,5 +126,5 @@ ofi_iov_within(const struct iovec *iov1, const struct iovec *iov2)
(ofi_iov_end(iov1) <= ofi_iov_end(iov2));
}

#endif /* IOV_H */
#endif /* _OFI_IOV_H_ */

6 changes: 3 additions & 3 deletions include/ofi_list.h
Expand Up @@ -32,8 +32,8 @@
*
*/

#ifndef _FI_LIST_H_
#define _FI_LIST_H_
#ifndef _OFI_LIST_H_
#define _OFI_LIST_H_

#include "config.h"

Expand Down Expand Up @@ -367,4 +367,4 @@ static inline int dlistfd_wait_avail(struct dlistfd_head *head, int timeout)
return ret ? ret : !dlistfd_empty(head);
}

#endif /* _FI_LIST_H_ */
#endif /* _OFI_LIST_H_ */
6 changes: 3 additions & 3 deletions include/ofi_lock.h
Expand Up @@ -31,8 +31,8 @@
* SOFTWARE.
*/

#ifndef _FI_LOCK_H_
#define _FI_LOCK_H_
#ifndef _OFI_LOCK_H_
#define _OFI_LOCK_H_

#include "config.h"

Expand Down Expand Up @@ -138,4 +138,4 @@ static inline void fastlock_release(fastlock_t *lock)
}
#endif

#endif /* _FI_LOCK_H_ */
#endif /* _OFI_LOCK_H_ */
6 changes: 3 additions & 3 deletions include/ofi_mem.h
Expand Up @@ -30,8 +30,8 @@
* SOFTWARE.
*/

#ifndef _FI_MEM_H_
#define _FI_MEM_H_
#ifndef _OFI_MEM_H_
#define _OFI_MEM_H_

#include <config.h>

Expand Down Expand Up @@ -358,4 +358,4 @@ extern uint64_t OFI_RMA_PMEM;
extern void (*ofi_pmem_commit)(const void *addr, size_t len);


#endif /* _FI_MEM_H_ */
#endif /* _OFI_MEM_H_ */
6 changes: 3 additions & 3 deletions include/ofi_osd.h
Expand Up @@ -30,8 +30,8 @@
* SOFTWARE.
*/

#ifndef _FI_OSD_H_
#define _FI_OSD_H_
#ifndef _OFI_OSD_H_
#define _OFI_OSD_H_


/* We use macros to create atomic and complex function definitions,
Expand Down Expand Up @@ -76,4 +76,4 @@ typedef long double long_double;
#define OFI_UNLIKELY(x) (x)
#endif

#endif /* _FI_OSD_H_ */
#endif /* _OFI_OSD_H_ */
6 changes: 3 additions & 3 deletions include/ofi_proto.h
Expand Up @@ -30,8 +30,8 @@
* SOFTWARE.
*/

#ifndef _FI_PROTO_H_
#define _FI_PROTO_H_
#ifndef _OFI_PROTO_H_
#define _OFI_PROTO_H_

#include "config.h"

Expand Down Expand Up @@ -193,4 +193,4 @@ struct ofi_rma_ioc {
}
#endif

#endif /* _FI_PROTO_H_ */
#endif /* _OFI_PROTO_H_ */
6 changes: 3 additions & 3 deletions include/ofi_prov.h
Expand Up @@ -31,8 +31,8 @@
* SOFTWARE.
*/

#ifndef _PROV_H_
#define _PROV_H_
#ifndef _OFI_PROV_H_
#define _OFI_PROV_H_

#include "config.h"

Expand Down Expand Up @@ -206,4 +206,4 @@ SHM_INI ;
# define SHM_INIT NULL
#endif

#endif /* _PROV_H_ */
#endif /* _OFI_PROV_H_ */
6 changes: 3 additions & 3 deletions include/ofi_rbuf.h
Expand Up @@ -32,8 +32,8 @@
*
*/

#if !defined(FI_RBUF_H)
#define FI_RBUF_H
#ifndef _OFI_RBUF_H_
#define _OFI_RBUF_H_

#include "config.h"

Expand Down Expand Up @@ -352,4 +352,4 @@ static inline size_t ofi_rbfdwait(struct ofi_ringbuffd *rbfd, int timeout)
}


#endif /* FI_RBUF_H */
#endif /* _OFI_RBUF_H_ */
6 changes: 3 additions & 3 deletions include/ofi_shm.h
Expand Up @@ -30,8 +30,8 @@
* SOFTWARE.
*/

#ifndef _FI_SHM_H_
#define _FI_SHM_H_
#ifndef _OFI_SHM_H_
#define _OFI_SHM_H_

#include "config.h"

Expand Down Expand Up @@ -260,4 +260,4 @@ void smr_free(struct smr_region *smr);
}
#endif

#endif /* _FI_SHM_H_ */
#endif /* _OFI_SHM_H_ */
6 changes: 3 additions & 3 deletions include/ofi_signal.h
Expand Up @@ -31,8 +31,8 @@
*
*/

#ifndef _FI_SIGNAL_H_
#define _FI_SIGNAL_H_
#ifndef _OFI_SIGNAL_H_
#define _OFI_SIGNAL_H_

#include "config.h"

Expand Down Expand Up @@ -183,4 +183,4 @@ void fi_epoll_close(struct fi_epoll *ep);

#endif /* HAVE_EPOLL */

#endif /* _FI_SIGNAL_H_ */
#endif /* _OFI_SIGNAL_H_ */
6 changes: 3 additions & 3 deletions include/ofi_util.h
Expand Up @@ -31,8 +31,8 @@
* SOFTWARE.
*/

#ifndef _FI_UTIL_H_
#define _FI_UTIL_H_
#ifndef _OFI_UTIL_H_
#define _OFI_UTIL_H_

#if HAVE_CONFIG_H
# include <config.h>
Expand Down Expand Up @@ -762,4 +762,4 @@ int ofi_ns_del_local_name(struct util_ns *ns, void *service, void *name);
void *ofi_ns_resolve_name(struct util_ns *ns, const char *server,
void *service);

#endif
#endif /* _OFI_UTIL_H_ */

0 comments on commit 98862ac

Please sign in to comment.