Commit 8c7a62c4 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

headers: Move ERESTART codes to errno.h

Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent f508c0f2
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
#include "elf.h" #include "elf.h"
#include "parasite-syscall.h" #include "parasite-syscall.h"
#include "restorer.h" #include "restorer.h"
#include "errno.h"
/* /*
......
...@@ -12,11 +12,6 @@ ...@@ -12,11 +12,6 @@
#define SIGMAX 64 #define SIGMAX 64
#define SIGMAX_OLD 31 #define SIGMAX_OLD 31
#define ERESTARTSYS 512
#define ERESTARTNOINTR 513
#define ERESTARTNOHAND 514
#define ERESTART_RESTARTBLOCK 516
#define MAJOR(dev) ((dev)>>8) #define MAJOR(dev) ((dev)>>8)
#define MINOR(dev) ((dev) & 0xff) #define MINOR(dev) ((dev) & 0xff)
......
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
#include "log.h" #include "log.h"
#include "util.h" #include "util.h"
#include "cpu.h" #include "cpu.h"
#include "errno.h"
#include "protobuf.h" #include "protobuf.h"
#include "protobuf/core.pb-c.h" #include "protobuf/core.pb-c.h"
......
...@@ -13,11 +13,6 @@ ...@@ -13,11 +13,6 @@
#define SIGMAX 64 #define SIGMAX 64
#define SIGMAX_OLD 31 #define SIGMAX_OLD 31
#define ERESTARTSYS 512
#define ERESTARTNOINTR 513
#define ERESTARTNOHAND 514
#define ERESTART_RESTARTBLOCK 516
#define MAJOR(dev) ((dev)>>8) #define MAJOR(dev) ((dev)>>8)
#define MINOR(dev) ((dev) & 0xff) #define MINOR(dev) ((dev) & 0xff)
......
#ifndef __CR_ERRNO_H__
#define __CR_ERRNO_H__
#define ERESTARTSYS 512
#define ERESTARTNOINTR 513
#define ERESTARTNOHAND 514
#define ERESTART_RESTARTBLOCK 516
#endif /* __CR_ERRNO_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