1 /*
2 * Copyright (C) 2022 HiHope Open Source Organization .
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
16 #include "wm_include.h"
17
18 #if !(defined(LOSCFG_BASE_CORE_HILOG))
19
20 #include "stdarg.h"
21 #include "stdio.h"
22
hal_trace_printf(int attr,const char * fmt,...)23 int hal_trace_printf(int attr, const char *fmt, ...)
24 {
25 int ret = 0;
26 va_list ap;
27
28 va_start(ap, fmt);
29 vprintf(fmt, ap);
30 va_end(ap);
31
32 return ret;
33 }
34
35 #endif
36
HdfSysEventSend(unsigned long eventClass,unsigned int event,const char * content,bool sync)37 int HdfSysEventSend(unsigned long eventClass, unsigned int event, const char *content, bool sync)
38 {
39 int ret = 0;
40
41 return ret;
42 }
43