update openharmony 1.0.1
This commit is contained in:
Regular → Executable
+4
-2
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2013-2019, Huawei Technologies Co., Ltd. All rights reserved.
|
||||
* Copyright (c) 2020, Huawei Device Co., Ltd. All rights reserved.
|
||||
* Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
|
||||
* Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification,
|
||||
* are permitted provided that the following conditions are met:
|
||||
@@ -70,6 +70,7 @@ void *SysBrk(void *addr)
|
||||
return LOS_DoBrk(addr);
|
||||
}
|
||||
|
||||
#ifdef LOSCFG_KERNEL_SHM
|
||||
int SysShmGet(key_t key, size_t size, int shmflg)
|
||||
{
|
||||
int ret;
|
||||
@@ -117,6 +118,7 @@ int SysShmDt(const void *shmaddr)
|
||||
|
||||
return ret;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if __cplusplus
|
||||
|
||||
Reference in New Issue
Block a user