Reorganize headers again
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
#include "ucore_backtrace.h"
|
||||
#include <ucore/ucore_backtrace.h>
|
||||
|
||||
//note , compiling this without -rdynamic does not
|
||||
//translate addresses to function names. Use the addr2line in that case
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
#include "iomux.h"
|
||||
#include <ucore/iomux.h>
|
||||
|
||||
extern struct IOMuxFD s_fd;
|
||||
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <pthread.h>
|
||||
#include "iomux.h"
|
||||
#include <ucore/iomux.h>
|
||||
|
||||
extern struct IOMuxFD s_fd;
|
||||
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
#include <fcntl.h>
|
||||
#include "iomux.h"
|
||||
#include <ucore/iomux.h>
|
||||
|
||||
|
||||
#define BUFLEN (4098*66)
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
#include "ucore_logging.h"
|
||||
#include "ucore_utils.h"
|
||||
#include <ucore/ucore_logging.h>
|
||||
#include <ucore/ucore_utils.h>
|
||||
#include <syslog.h>
|
||||
enum {
|
||||
MAIN,
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
#include <string.h>
|
||||
#include "ucore_salloc.h"
|
||||
#include <ucore/ucore_salloc.h>
|
||||
|
||||
// Intended to be run under valgrind. Should show no errors
|
||||
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
#include <stdio.h>
|
||||
#include "ucore_seq.h"
|
||||
#include <ucore/ucore_seq.h>
|
||||
|
||||
|
||||
void check_before(uint32_t a, uint32_t b)
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
#include <check.h>
|
||||
#include "ucore_string.h"
|
||||
#include <ucore/ucore_string.h>
|
||||
|
||||
|
||||
START_TEST (test_2bcd_1234567890)
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
#include <check.h>
|
||||
#include "ucore_bitvec.h"
|
||||
#include <ucore/ucore_bitvec.h>
|
||||
|
||||
|
||||
START_TEST (test_bitvec_1)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include <check.h>
|
||||
#include "ucore_utils.h"
|
||||
#include <ucore/ucore_utils.h>
|
||||
|
||||
|
||||
struct Inner {
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
#include <check.h>
|
||||
#include <string.h>
|
||||
#include "ucore_string.h"
|
||||
#include <ucore/ucore_string.h>
|
||||
|
||||
|
||||
START_TEST (test_uc_hex_encode_1)
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
#include "ucore_logging.h"
|
||||
#include <ucore/ucore_logging.h>
|
||||
|
||||
#define FILE_NAME "logfile_test.log"
|
||||
#define SUBDIR "log_subdir"
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
#include <check.h>
|
||||
#include "ucore_pack.h"
|
||||
#include <ucore/ucore_pack.h>
|
||||
|
||||
|
||||
START_TEST (test_pack16_le_1)
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
#include "ucore_read_file.h"
|
||||
#include <ucore/ucore_read_file.h>
|
||||
|
||||
|
||||
START_TEST (test_read_file_non_existing_file)
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#include <errno.h>
|
||||
#include <sched.h>
|
||||
#include <stdlib.h>
|
||||
#include "ucore_threadqueue.h"
|
||||
#include <ucore/ucore_threadqueue.h>
|
||||
|
||||
struct thr_msg {
|
||||
struct uc_threadmsg msg;
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include "ucore_threadqueue.h"
|
||||
#include <ucore/ucore_threadqueue.h>
|
||||
|
||||
struct uc_threadqueue queue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user