瀏覽代碼

Move include/buffer.h to include/gpxe/buffer.h

tags/v0.9.3
Michael Brown 18 年之前
父節點
當前提交
bb2024c6d6
共有 7 個文件被更改,包括 9 次插入9 次删除
  1. 1
    1
      src/core/buffer.c
  2. 1
    1
      src/core/image.c
  3. 1
    1
      src/include/dev.h
  4. 3
    3
      src/include/gpxe/buffer.h
  5. 1
    1
      src/include/load_buffer.h
  6. 1
    1
      src/include/proto.h
  7. 1
    1
      src/include/tftp.h

+ 1
- 1
src/core/buffer.c 查看文件

@@ -43,7 +43,7 @@
43 43
 #include "io.h"
44 44
 #include "errno.h"
45 45
 #include <assert.h>
46
-#include "buffer.h"
46
+#include <gpxe/buffer.h>
47 47
 
48 48
 /**
49 49
  * Initialise a buffer.

+ 1
- 1
src/core/image.c 查看文件

@@ -1,5 +1,5 @@
1 1
 #include "dev.h"
2
-#include "buffer.h"
2
+#include <gpxe/buffer.h>
3 3
 #include "load_buffer.h"
4 4
 #include "image.h"
5 5
 #include <console.h>

+ 1
- 1
src/include/dev.h 查看文件

@@ -3,7 +3,7 @@
3 3
 
4 4
 #include "stdint.h"
5 5
 #include "string.h"
6
-#include "buffer.h"
6
+#include <gpxe/buffer.h>
7 7
 #include "dhcp.h" /* for dhcp_dev_id */
8 8
 #include <gpxe/tables.h>
9 9
 #include <assert.h>

src/include/buffer.h → src/include/gpxe/buffer.h 查看文件

@@ -1,5 +1,5 @@
1
-#ifndef BUFFER_H
2
-#define BUFFER_H
1
+#ifndef _GPXE_BUFFER_H
2
+#define _GPXE_BUFFER_H
3 3
 
4 4
 #include "compiler.h" /* for doxygen */
5 5
 #include "stdint.h"
@@ -94,4 +94,4 @@ extern void init_buffer ( struct buffer *buffer );
94 94
 extern int fill_buffer ( struct buffer *buffer, const void *data,
95 95
 			 off_t offset, size_t len );
96 96
 
97
-#endif /* BUFFER_H */
97
+#endif /* _GPXE_BUFFER_H */

+ 1
- 1
src/include/load_buffer.h 查看文件

@@ -1,7 +1,7 @@
1 1
 #ifndef LOAD_BUFFER_H
2 2
 #define LOAD_BUFFER_H
3 3
 
4
-#include "buffer.h"
4
+#include <gpxe/buffer.h>
5 5
 
6 6
 /*
7 7
  * These functions are architecture-dependent, but the interface must

+ 1
- 1
src/include/proto.h 查看文件

@@ -2,7 +2,7 @@
2 2
 #define PROTO_H
3 3
 
4 4
 #include <gpxe/tables.h>
5
-#include "buffer.h"
5
+#include <gpxe/buffer.h>
6 6
 #include <gpxe/in.h>
7 7
 
8 8
 struct protocol {

+ 1
- 1
src/include/tftp.h 查看文件

@@ -4,7 +4,7 @@
4 4
 /** @file */
5 5
 
6 6
 #include <gpxe/in.h>
7
-#include "buffer.h"
7
+#include <gpxe/buffer.h>
8 8
 #include "nic.h"
9 9
 #include "ip.h"
10 10
 #include "udp.h"

Loading…
取消
儲存