Преглед на файлове

vsprintf.h is gPXE-specific; move it to include/gpxe

tags/v0.9.3
Michael Brown преди 17 години
родител
ревизия
f4c1e564a1
променени са 3 файла, в които са добавени 5 реда и са изтрити 5 реда
  1. 1
    1
      src/core/vsprintf.c
  2. 1
    1
      src/hci/mucurses/print.c
  3. 3
    3
      src/include/gpxe/vsprintf.h

+ 1
- 1
src/core/vsprintf.c Целия файл

21
 #include <stdio.h>
21
 #include <stdio.h>
22
 #include <console.h>
22
 #include <console.h>
23
 #include <errno.h>
23
 #include <errno.h>
24
-#include <vsprintf.h>
24
+#include <gpxe/vsprintf.h>
25
 
25
 
26
 /** @file */
26
 /** @file */
27
 
27
 

+ 1
- 1
src/hci/mucurses/print.c Целия файл

1
 #include <curses.h>
1
 #include <curses.h>
2
 #include <stdio.h>
2
 #include <stdio.h>
3
 #include <stddef.h>
3
 #include <stddef.h>
4
-#include <vsprintf.h>
4
+#include <gpxe/vsprintf.h>
5
 #include "mucurses.h"
5
 #include "mucurses.h"
6
 
6
 
7
 /** @file
7
 /** @file

src/include/vsprintf.h → src/include/gpxe/vsprintf.h Целия файл

1
-#ifndef VSPRINTF_H
2
-#define VSPRINTF_H
1
+#ifndef _GPXE_VSPRINTF_H
2
+#define _GPXE_VSPRINTF_H
3
 
3
 
4
 /** @file
4
 /** @file
5
  *
5
  *
64
 
64
 
65
 extern size_t vcprintf ( struct printf_context *ctx, const char *fmt,
65
 extern size_t vcprintf ( struct printf_context *ctx, const char *fmt,
66
 			 va_list args );
66
 			 va_list args );
67
-#endif /* VSPRINTF_H */
67
+#endif /* _GPXE_VSPRINTF_H */

Loading…
Отказ
Запис