Commit d65e4cf9 authored by Pavel Emelyanov's avatar Pavel Emelyanov

headers: Move err.h to common

travis-ci: success for headers: Finalize include/common/
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent eedb53a1
#ifndef __CR_BFD_H__ #ifndef __CR_BFD_H__
#define __CR_BFD_H__ #define __CR_BFD_H__
#include "err.h" #include "common/err.h"
struct bfd_buf; struct bfd_buf;
struct xbuf { struct xbuf {
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
#include "xmalloc.h" #include "xmalloc.h"
#include "common/bug.h" #include "common/bug.h"
#include "log.h" #include "log.h"
#include "err.h" #include "common/err.h"
#define PREF_SHIFT_OP(pref, op, size) ((size) op (pref ##BYTES_SHIFT)) #define PREF_SHIFT_OP(pref, op, size) ((size) op (pref ##BYTES_SHIFT))
#define KBYTES_SHIFT 10 #define KBYTES_SHIFT 10
......
/* /*
* Adopted from linux kernel * Adopted from linux kernel
*/ */
#ifndef __CR_ERR_H__ #ifndef __CR_COMMON_ERR_H__
#define __CR_ERR_H__ #define __CR_COMMON_ERR_H__
#include "common/compiler.h" #include "common/compiler.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment