[beast/devel: 9/77] SFI: remove SfiCPUInfo
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast/devel: 9/77] SFI: remove SfiCPUInfo
- Date: Wed, 1 May 2013 17:28:05 +0000 (UTC)
commit e018f2d2fb414b031fc50fa205e79def16505280
Author: Tim Janik <timj gnu org>
Date: Thu Mar 28 19:02:44 2013 +0000
SFI: remove SfiCPUInfo
sfi/sfitests.hh | 2 --
sfi/sfiwrapper.cc | 11 -----------
sfi/sfiwrapper.hh | 4 ----
3 files changed, 0 insertions(+), 17 deletions(-)
---
diff --git a/sfi/sfitests.hh b/sfi/sfitests.hh
index 1a10bcc..5d37207 100644
--- a/sfi/sfitests.hh
+++ b/sfi/sfitests.hh
@@ -32,8 +32,6 @@ sfi_init_test (int *argcp,
g_free (iv);
unsigned int flags = g_log_set_always_fatal ((GLogLevelFlags) G_LOG_FATAL_MASK);
g_log_set_always_fatal ((GLogLevelFlags) (flags | G_LOG_LEVEL_WARNING | G_LOG_LEVEL_CRITICAL));
- SfiCPUInfo ci = sfi_cpu_info();
- treport_cpu_name (ci.machine);
g_printerr ("TEST: %s\n", g_get_prgname());
/* check NULL definition, especially for 64bit */
BIRNET_ASSERT (sizeof (NULL) == sizeof (void*));
diff --git a/sfi/sfiwrapper.cc b/sfi/sfiwrapper.cc
index 72768e8..a635ec9 100644
--- a/sfi/sfiwrapper.cc
+++ b/sfi/sfiwrapper.cc
@@ -35,17 +35,6 @@ sfi_init_settings (void)
{
return ::Birnet::init_settings();
}
-/* --- CPU Info --- */
-SfiCPUInfo
-sfi_cpu_info (void)
-{
- return ::Birnet::cpu_info();
-}
-gchar*
-sfi_cpu_info_string (const SfiCPUInfo *cpu_info)
-{
- return g_strdup (::Birnet::cpu_info_string (*cpu_info).c_str());
-}
/* --- file testing --- */
bool
birnet_file_check (const char *file,
diff --git a/sfi/sfiwrapper.hh b/sfi/sfiwrapper.hh
index d6fe54d..3ed5b6c 100644
--- a/sfi/sfiwrapper.hh
+++ b/sfi/sfiwrapper.hh
@@ -63,10 +63,6 @@ double sfi_init_value_double (SfiInitValue *value);
gint64 sfi_init_value_int (SfiInitValue *value);
typedef BirnetInitSettings SfiInitSettings;
SfiInitSettings sfi_init_settings (void);
-/* --- CPU Info --- */
-typedef BirnetCPUInfo SfiCPUInfo;
-SfiCPUInfo sfi_cpu_info (void);
-gchar* sfi_cpu_info_string (const SfiCPUInfo *cpu_info);
/* --- file tests --- */
bool birnet_file_check (const char *file,
const char *mode);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]