aboutsummaryrefslogtreecommitdiff
path: root/targets/corstone-300/retarget.c
diff options
context:
space:
mode:
Diffstat (limited to 'targets/corstone-300/retarget.c')
-rw-r--r--targets/corstone-300/retarget.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/targets/corstone-300/retarget.c b/targets/corstone-300/retarget.c
index 2549e42..9d71da0 100644
--- a/targets/corstone-300/retarget.c
+++ b/targets/corstone-300/retarget.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2019-2021 Arm Limited. All rights reserved.
+ * SPDX-FileCopyrightText: Copyright 2019-2022 Arm Limited and/or its affiliates <open-source-office@arm.com>
*
* SPDX-License-Identifier: Apache-2.0
*
@@ -172,6 +172,15 @@ long RETARGET(_flen)(FILEHANDLE fh) {
return -1;
}
+#if __ARMCLIB_VERSION >= 6190004
+int RETARGET(_tmpnam2)(char *name, int sig, unsigned maxlen) {
+ (void)name;
+ (void)sig;
+ (void)maxlen;
+
+ return -1;
+}
+#else
int RETARGET(_tmpnam)(char *name, int sig, unsigned maxlen) {
(void)name;
(void)sig;
@@ -179,6 +188,7 @@ int RETARGET(_tmpnam)(char *name, int sig, unsigned maxlen) {
return 1;
}
+#endif
char *RETARGET(_command_string)(char *cmd, int len) {
(void)len;