Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f7ac9ae1 authored by Richard Ross's avatar Richard Ross Committed by kushdeck
Browse files

Add HTC Logging functions to support newer HTC props.

ifdef'd with HTCLOG.

Patchset2: remove unused function.

Patchset3: add indents to returns.

Change-Id: I70d0a6878dddf0f41d96735febda82c93496d8ec
parent 22d8f165
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
@@ -70,6 +70,23 @@ int __android_log_dev_available(void)
    return (g_log_status == kLogAvailable);
}

#ifdef HTCLOG
signed int __htclog_read_masks(char *buf, signed int len)
{
    return 0;
}

int __htclog_init_mask(const char *a1, unsigned int a2, int a3)
{
    return 0;
}

int __htclog_print_private(int a1, const char *a2, const char *fmt, ...)
{
    return 0;
}
#endif

static int __write_to_log_null(log_id_t log_fd, struct iovec *vec, size_t nr)
{
    return -1;