mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-26 00:59:55 +00:00
Move cpu time retrieval to separate grub_util_get_cpu_time_ms
and remove export.h.
This commit is contained in:
1 parent
23934da26e
commit
7e45abcef4
9 files changed
+50
-16
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user