This patch removes the duplicate log header file in the core directory.
From now, the only log header is the file in the shared directory.
Change-Id: I94d6cae273a7a123c3d65c503d6703d146322f51
Signed-off-by: Wook Song <wook16.song@samsung.com>
#include <bundle.h>
#include <eventsystem.h>
-#include "core/log.h"
#include "core/device-notifier.h"
#include "core/common.h"
#include "core/edbus-handler.h"
#include "shared/pass-systemd.h"
+#include "shared/log.h"
#define SIGNAL_BOOTING_DONE "BootingDone"
#include <poll.h>
#include <mntent.h>
-#include "log.h"
+#include "shared/log.h"
+
#include "common.h"
#define BUFF_MAX 255
#include <stdio.h>
#include <string.h>
#include <errno.h>
-#include "log.h"
+
+#include "shared/log.h"
+
#include "config-parser.h"
#define MAX_LINE 128
#include <glib.h>
#include <errno.h>
-#include "log.h"
+#include "shared/log.h"
struct device_request {
void (*func)(void *data);
* limitations under the License.
*/
+#include "shared/log.h"
-#include "log.h"
#include "device-notifier.h"
#include "list.h"
#include "common.h"
#include <stdio.h>
-#include "log.h"
+#include "shared/log.h"
+
#include "list.h"
#include "common.h"
#include "devices.h"
#include <assert.h>
-#include "core/log.h"
#include "core/edbus-handler.h"
#include "core/common.h"
#include "core/device-idler.h"
#include "core/device-notifier.h"
#include "core/list.h"
+#include "shared/log.h"
#define EDBUS_INIT_RETRY_COUNT 5
#define NAME_OWNER_CHANGED "NameOwnerChanged"
#include <signal.h>
#include <errno.h>
-#include "log.h"
+#include "shared/log.h"
static int parent(pid_t pid)
{
*/
#include <stdio.h>
-#include "log.h"
+
+#include "shared/log.h"
#ifdef DEBUG
void __cyg_profile_func_enter(void *, void *)
+++ /dev/null
-/*
- * PASS
- *
- * Copyright (c) 2017 Samsung Electronics Co., Ltd.
- *
- * Licensed under the Apache License, Version 2.0 (the License);
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#ifndef __LOG_H__
-#define __LOG_H__
-
-#ifdef ENABLE_PASS_DLOG
-#define ENABLE_DLOG
-#endif
-
-#ifdef LOG_TAG
-#undef LOG_TAG
-#endif
-
-#define LOG_TAG "PASS"
-#include "shared/log-macro.h"
-#endif
#include <fcntl.h>
#include <sys/reboot.h>
-#include "log.h"
-#include "common.h"
-#include "edbus-handler.h"
-#include "devices.h"
#include "shared/dbus.h"
+#include "shared/log.h"
+
#include "boot.h"
+#include "common.h"
#include "device-notifier.h"
+#include "devices.h"
+#include "edbus-handler.h"
#define PIDFILE_PATH "/var/run/.pass.pid"
#include <sys/types.h>
#include <sys/wait.h>
-#include "log.h"
-#include "devices.h"
+#include "shared/log.h"
+
#include "common.h"
+#include "devices.h"
static struct sigaction sig_child_old_act;
static struct sigaction sig_pipe_old_act;
#include <errno.h>
#include <assert.h>
-#include "log.h"
+#include "shared/log.h"
+
#include "device-notifier.h"
#include "devices.h"
-#include "udev.h"
-#include "list.h"
#include "edbus-handler.h"
+#include "list.h"
+#include "udev.h"
#define KERNEL "kernel"
#define UDEV "udev"
#include <stdio.h>
#include <Ecore.h>
-#include "core/log.h"
+
+#include "shared/log.h"
/******************************************************
* PASS Governors *
#include <errno.h>
#include <string.h>
-#include "core/log.h"
-#include "core/edbus-handler.h"
#include "core/config-parser.h"
+#include "core/edbus-handler.h"
+#include "shared/log.h"
+
#include "pmqos.h"
static bool is_supported(const char *value)
#include <Ecore.h>
#include <device-node.h>
-#include "core/log.h"
#include "core/edbus-handler.h"
#include "core/devices.h"
#include "core/common.h"
#include "core/list.h"
#include "core/device-notifier.h"
+#include "shared/log.h"
+
#include "pmqos.h"
#define DEFAULT_PMQOS_TIMER 3000
#include <dbus/dbus.h>
#include <gio/gio.h>
+#include "shared/log.h"
+
#include "common.h"
#include "dbus.h"
#include "pass-systemd.h"
-#include "core/log.h"
-
#define SYSTEMD_UNIT_ESCAPE_CHAR ".-"