Commit 5a4f074c authored by Chris T's avatar Chris T

Revert earlier code revision

I am learning how mmsd's code structure is a bit better, and as such,
I am reverting something I did earlier.
parent 57560eaf
......@@ -130,6 +130,11 @@ static DBusConnection *connection;
static guint32 transaction_id_start = 0;
static const char *time_to_str(const time_t *t);
void debug_print(const char* s, void* data);
static void mms_load_settings(struct mms_service *service)
{
GError *error;
......@@ -1640,7 +1645,7 @@ int mms_service_unregister(struct mms_service *service)
return 0;
}
const char *time_to_str(const time_t *t)
static const char *time_to_str(const time_t *t)
{
static char buf[128];
struct tm tm;
......@@ -2659,4 +2664,4 @@ void __mms_service_cleanup(void)
if (g_dbus_unregister_interface(connection, MMS_PATH,
MMS_MANAGER_INTERFACE) == FALSE)
mms_error("Failed to unregister manager interface");
}
\ No newline at end of file
}
......@@ -52,7 +52,3 @@ int mms_message_register(struct mms_service *service,
struct mms_message *msg);
int mms_message_unregister(const struct mms_service *service,
const char *msg_path);
const char *time_to_str(const time_t *t);
void debug_print(const char* s, void* data);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment