Move cpu time retrieval to separate grub_util_get_cpu_time_ms
and remove export.h.
This commit is contained in:
parent
23934da26e
commit
7e45abcef4
9 changed files with 50 additions and 16 deletions
|
@ -1,7 +0,0 @@
|
|||
#ifdef GRUB_SYMBOL_GENERATOR
|
||||
void EXPORT_FUNC (sysconf) (void);
|
||||
void EXPORT_FUNC (times) (void);
|
||||
#else
|
||||
#include <sys/times.h>
|
||||
#include <unistd.h>
|
||||
#endif
|
|
@ -50,6 +50,8 @@ void EXPORT_FUNC(grub_util_warn) (const char *fmt, ...) __attribute__ ((format (
|
|||
void EXPORT_FUNC(grub_util_info) (const char *fmt, ...) __attribute__ ((format (printf, 1, 2)));
|
||||
void EXPORT_FUNC(grub_util_error) (const char *fmt, ...) __attribute__ ((format (printf, 1, 2), noreturn));
|
||||
|
||||
grub_uint64_t EXPORT_FUNC (grub_util_get_cpu_time_ms) (void);
|
||||
|
||||
extern char * canonicalize_file_name (const char *path);
|
||||
|
||||
#ifdef HAVE_DEVICE_MAPPER
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue