Move cpu time retrieval to separate grub_util_get_cpu_time_ms

and remove export.h.
This commit is contained in:
Vladimir 'phcoder' Serbinenko committed 2013-10-15 13:13:53 +02:00
1 parent 23934da26e
commit 7e45abcef4
9 files changed
+50 -16

No files matched your search

-7
View File
@@ -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
+2
View File
@@ -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