Browse Source

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

tags/v0.9.3
Michael Brown 18 years ago
parent
commit
bb2024c6d6

+ 1
- 1
src/core/buffer.c View File

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

+ 1
- 1
src/core/image.c View File

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

+ 1
- 1
src/include/dev.h View File

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

src/include/buffer.h → src/include/gpxe/buffer.h View File

1
-#ifndef BUFFER_H
2
-#define BUFFER_H
1
+#ifndef _GPXE_BUFFER_H
2
+#define _GPXE_BUFFER_H
3
 
3
 
4
 #include "compiler.h" /* for doxygen */
4
 #include "compiler.h" /* for doxygen */
5
 #include "stdint.h"
5
 #include "stdint.h"
94
 extern int fill_buffer ( struct buffer *buffer, const void *data,
94
 extern int fill_buffer ( struct buffer *buffer, const void *data,
95
 			 off_t offset, size_t len );
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 View File

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

+ 1
- 1
src/include/proto.h View File

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

+ 1
- 1
src/include/tftp.h View File

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

Loading…
Cancel
Save