2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-29 13:28:27 +00:00

include/common: Move bug.h in

travis-ci: success for Common headers
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
This commit is contained in:
Cyrill Gorcunov 2016-10-24 14:58:04 +03:00 committed by Pavel Emelyanov
parent 9e2c8fae92
commit 3564a4d0ed
18 changed files with 28 additions and 18 deletions

View File

@ -11,7 +11,7 @@
#include "cr-service.h"
#include "action-scripts.h"
#include "pstree.h"
#include "bug.h"
#include "common/bug.h"
static const char *action_names[ACT_MAX] = {
[ ACT_PRE_DUMP ] = "pre-dump",

View File

@ -6,7 +6,7 @@
#include "syscall.h"
#include "parasite-vdso.h"
#include "log.h"
#include "bug.h"
#include "common/bug.h"
#ifdef LOG_PREFIX
# undef LOG_PREFIX

View File

@ -6,7 +6,7 @@
#include "syscall.h"
#include "parasite-vdso.h"
#include "log.h"
#include "bug.h"
#include "common/bug.h"
#ifdef LOG_PREFIX
# undef LOG_PREFIX

View File

@ -6,7 +6,7 @@
#include "syscall.h"
#include "parasite-vdso.h"
#include "log.h"
#include "bug.h"
#include "common/bug.h"
#ifdef LOG_PREFIX
# undef LOG_PREFIX

View File

@ -7,8 +7,9 @@
#include <sys/uio.h>
#include <errno.h>
#include "bug.h"
#include "int.h"
#include "log.h"
#include "common/bug.h"
#include "bfd.h"
#include "common/list.h"
#include "util.h"

View File

@ -18,7 +18,7 @@
#include "util.h"
#include "common/list.h"
#include "log.h"
#include "bug.h"
#include "common/bug.h"
#undef LOG_PREFIX
#define LOG_PREFIX "cg-prop: "

View File

@ -9,7 +9,8 @@
#include "fcntl.h"
#include "magic.h"
#include "bfd.h"
#include "bug.h"
#include "log.h"
#include "common/bug.h"
#ifdef _ARCH_PPC64
#define PAGE_IMAGE_SIZE 65536

View File

@ -2,7 +2,8 @@
#define __CR_IMGSET_H__
#include "image-desc.h"
#include "bug.h"
#include "log.h"
#include "common/bug.h"
#include "image.h"
struct cr_imgset {

View File

@ -7,7 +7,8 @@
#include <errno.h>
#include "atomic.h"
#include "bug.h"
#include "log.h"
#include "common/bug.h"
#ifdef CR_NOGLIBC
# include "syscall.h"

View File

@ -15,7 +15,7 @@
#include "int.h"
#include "common/compiler.h"
#include "xmalloc.h"
#include "bug.h"
#include "common/bug.h"
#include "log.h"
#include "err.h"

View File

@ -5,7 +5,8 @@
#include "int.h"
#include "mount.h"
#include "path.h"
#include "bug.h"
#include "log.h"
#include "common/bug.h"
char *cut_root_for_bind(char *target_root, char *source_root)
{

View File

@ -17,7 +17,7 @@
#include "parasite-vdso.h"
#include "vma.h"
#include "log.h"
#include "bug.h"
#include "common/bug.h"
#ifdef LOG_PREFIX
# undef LOG_PREFIX

View File

@ -14,9 +14,11 @@
#include "asm-generic/int.h"
#include "log.h"
#include "common/compiler.h"
#include "piegen/uapi/types.h"
#include "bug.h"
#include "common/bug.h"
__maybe_unused void elf_relocs_apply(void *mem, void *vbase, size_t size, elf_reloc_t *elf_relocs, size_t nr_relocs)
{

View File

@ -20,7 +20,7 @@
#include "util-pie.h"
#include "fcntl.h"
#include "bug.h"
#include "common/bug.h"
static void scm_fdset_init_chunk(struct scm_fdset *fdset, int nr_fds)
{

View File

@ -15,7 +15,7 @@
#include "util-vdso.h"
#include "vma.h"
#include "log.h"
#include "bug.h"
#include "common/bug.h"
#ifdef LOG_PREFIX
# undef LOG_PREFIX

View File

@ -4,7 +4,8 @@
#include "page.h"
#include "rst-malloc.h"
#include "bug.h"
#include "log.h"
#include "common/bug.h"
struct rst_mem_type_s {
bool remapable;

View File

@ -18,7 +18,7 @@
#include "imgset.h"
#include "util.h"
#include "log.h"
#include "bug.h"
#include "common/bug.h"
#undef LOG_PREFIX
#define LOG_PREFIX "timerfd: "

View File

@ -5,7 +5,6 @@
#include <stdbool.h>
#include "common/compiler.h"
#include "log.h"
#ifndef BUG_ON_HANDLER
@ -16,6 +15,9 @@
#endif
#ifndef __clang_analyzer__
# ifndef pr_err
# error pr_err macro must be defined
# endif
# define BUG_ON_HANDLER(condition) \
do { \
if ((condition)) { \