headers: Move err.h to common

travis-ci: success for headers: Finalize include/common/
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
This commit is contained in:
Pavel Emelyanov 2016-10-27 19:24:27 +03:00
parent eedb53a1d2
commit d65e4cf9a8
3 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,7 @@
#ifndef __CR_BFD_H__
#define __CR_BFD_H__
#include "err.h"
#include "common/err.h"
struct bfd_buf;
struct xbuf {

View file

@ -17,7 +17,7 @@
#include "xmalloc.h"
#include "common/bug.h"
#include "log.h"
#include "err.h"
#include "common/err.h"
#define PREF_SHIFT_OP(pref, op, size) ((size) op (pref ##BYTES_SHIFT))
#define KBYTES_SHIFT 10

View file

@ -1,8 +1,8 @@
/*
* Adopted from linux kernel
*/
#ifndef __CR_ERR_H__
#define __CR_ERR_H__
#ifndef __CR_COMMON_ERR_H__
#define __CR_COMMON_ERR_H__
#include "common/compiler.h"