Fic includes to use "" instead of <>

This commit is contained in:
Nils O. Selåsdal
2014-09-11 21:55:57 +02:00
parent b39cabc055
commit 5f89edc0d9
39 changed files with 55 additions and 55 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
#include <stdio.h> #include <stdio.h>
#include <ucore/backtrace.h> #include "ucore/backtrace.h"
//note , compiling this without -rdynamic does not //note , compiling this without -rdynamic does not
//translate addresses to function names. Use the addr2line in that case //translate addresses to function names. Use the addr2line in that case
+1 -1
View File
@@ -1,6 +1,6 @@
#include <stdio.h> #include <stdio.h>
#include <unistd.h> #include <unistd.h>
#include <ucore/iomux.h> #include "ucore/iomux.h"
extern struct IOMuxFD s_fd; extern struct IOMuxFD s_fd;
+1 -1
View File
@@ -2,7 +2,7 @@
#include <string.h> #include <string.h>
#include <unistd.h> #include <unistd.h>
#include <pthread.h> #include <pthread.h>
#include <ucore/iomux.h> #include "ucore/iomux.h"
extern struct IOMuxFD s_fd; extern struct IOMuxFD s_fd;
+1 -1
View File
@@ -4,7 +4,7 @@
#include <unistd.h> #include <unistd.h>
#include <string.h> #include <string.h>
#include <fcntl.h> #include <fcntl.h>
#include <ucore/iomux.h> #include "ucore/iomux.h"
#define BUFLEN (4098*66) #define BUFLEN (4098*66)
+2 -2
View File
@@ -3,8 +3,8 @@
#include <string.h> #include <string.h>
#include <unistd.h> #include <unistd.h>
#include <pthread.h> #include <pthread.h>
#include <ucore/iomux.h> #include "ucore/iomux.h"
#include <ucore/iomux_waker.h> #include "ucore/iomux_waker.h"
pthread_mutex_t lock = PTHREAD_MUTEX_INITIALIZER; pthread_mutex_t lock = PTHREAD_MUTEX_INITIALIZER;
static int counter = 0; static int counter = 0;
+2 -2
View File
@@ -1,5 +1,5 @@
#include <ucore/logging.h> #include "ucore/logging.h"
#include <ucore/utils.h> #include "ucore/utils.h"
#include <syslog.h> #include <syslog.h>
enum { enum {
MAIN, MAIN,
+3 -3
View File
@@ -3,9 +3,9 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <ortp/ortp.h> #include <ortp/ortp.h>
#include <ucore/iomux.h> #include "ucore/iomux.h"
#include <ucore/utils.h> #include "ucore/utils.h"
#include <ucore/string.h> #include "ucore/string.h"
struct IOMux *mux; struct IOMux *mux;
+1 -1
View File
@@ -1,6 +1,6 @@
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include <ucore/math.h> #include "ucore/math.h"
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
+1 -1
View File
@@ -1,5 +1,5 @@
#include <string.h> #include <string.h>
#include <ucore/salloc.h> #include "ucore/salloc.h"
// Intended to be run under valgrind. Should show no errors // Intended to be run under valgrind. Should show no errors
+1 -1
View File
@@ -1,5 +1,5 @@
#include <stdio.h> #include <stdio.h>
#include <ucore/seq.h> #include "ucore/seq.h"
void check_before(uint32_t a, uint32_t b) void check_before(uint32_t a, uint32_t b)
+2 -2
View File
@@ -1,8 +1,8 @@
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include <ucore/tailq.h> #include "ucore/tailq.h"
#include <ucore/utils.h> #include "ucore/utils.h"
struct Block { struct Block {
char text[64]; char text[64];
+1 -1
View File
@@ -1,5 +1,5 @@
#include <check.h> #include <check.h>
#include <ucore/string.h> #include "ucore/string.h"
START_TEST (test_2bcd_1234567890) START_TEST (test_2bcd_1234567890)
+1 -1
View File
@@ -1,5 +1,5 @@
#include <check.h> #include <check.h>
#include <ucore/bitvec.h> #include "ucore/bitvec.h"
START_TEST (test_bitvec_1) START_TEST (test_bitvec_1)
+1 -1
View File
@@ -1,6 +1,6 @@
#include <check.h> #include <check.h>
#include <string.h> #include <string.h>
#include <ucore/buffer.h> #include "ucore/buffer.h"
START_TEST (test_new_gbuf) START_TEST (test_new_gbuf)
+1 -1
View File
@@ -1,6 +1,6 @@
#include <check.h> #include <check.h>
#include <unistd.h> #include <unistd.h>
#include <ucore/clock.h> #include "ucore/clock.h"
START_TEST (test_settable_clock) START_TEST (test_settable_clock)
+1 -1
View File
@@ -1,5 +1,5 @@
#include <check.h> #include <check.h>
#include <ucore/utils.h> #include "ucore/utils.h"
struct Inner { struct Inner {
+1 -1
View File
@@ -1,7 +1,7 @@
#include <check.h> #include <check.h>
#include <string.h> #include <string.h>
#include <signal.h> #include <signal.h>
#include <ucore/dbuf.h> #include "ucore/dbuf.h"
START_TEST (test_dbuf) START_TEST (test_dbuf)
+2 -2
View File
@@ -1,8 +1,8 @@
#include <check.h> #include <check.h>
#include <stdlib.h> #include <stdlib.h>
#include <ctype.h> #include <ctype.h>
#include <ucore/dstr.h> #include "ucore/dstr.h"
#include <ucore/utils.h> #include "ucore/utils.h"
START_TEST (test_dstr_basics) START_TEST (test_dstr_basics)
+2 -2
View File
@@ -1,6 +1,6 @@
#include <check.h> #include <check.h>
#include <ucore/utils.h> #include "ucore/utils.h"
#include <ucore/heapsort.h> #include "ucore/heapsort.h"
struct Stuff { struct Stuff {
char text[11]; char text[11];
+1 -1
View File
@@ -1,6 +1,6 @@
#include <check.h> #include <check.h>
#include <string.h> #include <string.h>
#include <ucore/string.h> #include "ucore/string.h"
START_TEST (test_uc_hex_encode_1) START_TEST (test_uc_hex_encode_1)
+2 -2
View File
@@ -1,7 +1,7 @@
#include <check.h> #include <check.h>
#include <string.h> #include <string.h>
#include <ucore/htable.h> #include "ucore/htable.h"
#include <ucore/utils.h> #include "ucore/utils.h"
struct MyString { struct MyString {
char str[32]; char str[32];
+1 -1
View File
@@ -1,5 +1,5 @@
#include <check.h> #include <check.h>
#include <ucore/string.h> #include "ucore/string.h"
START_TEST (test_human_bytesz_bytes) START_TEST (test_human_bytesz_bytes)
+1 -1
View File
@@ -5,7 +5,7 @@
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <unistd.h> #include <unistd.h>
#include <ucore/logging.h> #include "ucore/logging.h"
#define FILE_NAME "logfile_test.log" #define FILE_NAME "logfile_test.log"
#define SUBDIR "log_subdir" #define SUBDIR "log_subdir"
+1 -1
View File
@@ -1,7 +1,7 @@
#include <check.h> #include <check.h>
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include <ucore/mbuf.h> #include "ucore/mbuf.h"
START_TEST (test_mbuf_new) START_TEST (test_mbuf_new)
+1 -1
View File
@@ -1,5 +1,5 @@
#include <check.h> #include <check.h>
#include <ucore/pack.h> #include "ucore/pack.h"
START_TEST (test_pack16_le_1) START_TEST (test_pack16_le_1)
+1 -1
View File
@@ -1,5 +1,5 @@
#include <check.h> #include <check.h>
#include <ucore/rate_limit.h> #include "ucore/rate_limit.h"
START_TEST (test_ratelimit_1) START_TEST (test_ratelimit_1)
+1 -1
View File
@@ -5,7 +5,7 @@
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <fcntl.h> #include <fcntl.h>
#include <ucore/read_file.h> #include "ucore/read_file.h"
START_TEST (test_read_file_non_existing_file) START_TEST (test_read_file_non_existing_file)
+1 -1
View File
@@ -1,5 +1,5 @@
#include <check.h> #include <check.h>
#include <ucore/saturating_math.h> #include "ucore/saturating_math.h"
START_TEST (test_sat_uc_addu8) START_TEST (test_sat_uc_addu8)
+1 -1
View File
@@ -1,5 +1,5 @@
#include <check.h> #include <check.h>
#include <ucore/seq.h> #include "ucore/seq.h"
START_TEST (test_uc_seq_lt) START_TEST (test_uc_seq_lt)
+1 -1
View File
@@ -1,6 +1,6 @@
#include <check.h> #include <check.h>
#include <limits.h> #include <limits.h>
#include <ucore/string.h> #include "ucore/string.h"
//Note these tests assume //Note these tests assume
// char 8 bit // char 8 bit
+1 -1
View File
@@ -1,7 +1,7 @@
#include <check.h> #include <check.h>
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include <ucore/strvec.h> #include "ucore/strvec.h"
START_TEST (test_strv_append) START_TEST (test_strv_append)
+1 -1
View File
@@ -3,7 +3,7 @@
#include <errno.h> #include <errno.h>
#include <sched.h> #include <sched.h>
#include <stdlib.h> #include <stdlib.h>
#include <ucore/threadqueue.h> #include "ucore/threadqueue.h"
struct thr_msg { struct thr_msg {
struct uc_threadmsg msg; struct uc_threadmsg msg;
+1 -1
View File
@@ -1,7 +1,7 @@
#include <check.h> #include <check.h>
#include <stdio.h> #include <stdio.h>
#include <pthread.h> #include <pthread.h>
#include <ucore/ticket_lock.h> #include "ucore/ticket_lock.h"
//this is intended more as an example //this is intended more as an example
//verifying multithreaded locks requires a more formal approach //verifying multithreaded locks requires a more formal approach
+3 -3
View File
@@ -1,7 +1,7 @@
#include <check.h> #include <check.h>
#include <ucore/timers.h> #include "ucore/timers.h"
#include <ucore/timers.h> #include "ucore/timers.h"
#include <ucore/clock.h> #include "ucore/clock.h"
struct TimerTest { struct TimerTest {
int cnt; int cnt;
+1 -1
View File
@@ -1,5 +1,5 @@
#include <check.h> #include <check.h>
#include <ucore/val_str.h> #include "ucore/val_str.h"
START_TEST (test_val_str_search) START_TEST (test_val_str_search)
+1 -1
View File
@@ -1,6 +1,6 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <ucore/threadqueue.h> #include "ucore/threadqueue.h"
struct uc_threadqueue queue; struct uc_threadqueue queue;
+1 -1
View File
@@ -3,7 +3,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <signal.h> #include <signal.h>
#include <errno.h> #include <errno.h>
#include <ucore/threadqueue.h> #include "ucore/threadqueue.h"
struct uc_threadqueue queue; struct uc_threadqueue queue;
+2 -2
View File
@@ -1,8 +1,8 @@
#include <stdio.h> #include <stdio.h>
#include <sys/time.h> #include <sys/time.h>
#include <unistd.h> #include <unistd.h>
#include <ucore/timers.h> #include "ucore/timers.h"
#include <ucore/utils.h> #include "ucore/utils.h"
struct MyStruct { struct MyStruct {
+6 -6
View File
@@ -13,12 +13,12 @@
#include <sys/queue.h> #include <sys/queue.h>
#include <netinet/in.h> #include <netinet/in.h>
#include <arpa/inet.h> #include <arpa/inet.h>
#include <ucore/logging.h> #include "ucore/logging.h"
#include <ucore/logging.h> #include "ucore/logging.h"
#include <ucore/iomux.h> #include "ucore/iomux.h"
#include <ucore/utils.h> #include "ucore/utils.h"
#include <ucore/pack.h> #include "ucore/pack.h"
#include <ucore/tailq.h> #include "ucore/tailq.h"
#define HB_MAGIX 0xBEA7BEA7 #define HB_MAGIX 0xBEA7BEA7