You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ma...@apache.org on 2015/10/29 19:47:21 UTC
[2/7] incubator-mynewt-larva git commit: Clean up whitespace at the
end of lines.
Clean up whitespace at the end of lines.
Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva/commit/fda6d9d7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva/tree/fda6d9d7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva/diff/fda6d9d7
Branch: refs/heads/master
Commit: fda6d9d708e6cf7f9f6e42110a6cb0bcc869bc15
Parents: 2b1b21f
Author: Marko Kiiskila <ma...@runtime.io>
Authored: Thu Oct 29 10:50:47 2015 -0700
Committer: Marko Kiiskila <ma...@runtime.io>
Committed: Thu Oct 29 10:50:47 2015 -0700
----------------------------------------------------------------------
hw/bsp/nrf52pdk/src/libc_stubs.c | 20 +++++++++----------
.../olimex_stm32-e407_devboard/src/libc_stubs.c | 20 +++++++++----------
hw/bsp/stm32f3discovery/src/libc_stubs.c | 21 ++++++++++----------
3 files changed, 30 insertions(+), 31 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva/blob/fda6d9d7/hw/bsp/nrf52pdk/src/libc_stubs.c
----------------------------------------------------------------------
diff --git a/hw/bsp/nrf52pdk/src/libc_stubs.c b/hw/bsp/nrf52pdk/src/libc_stubs.c
index d10afc8..450b5ec 100644
--- a/hw/bsp/nrf52pdk/src/libc_stubs.c
+++ b/hw/bsp/nrf52pdk/src/libc_stubs.c
@@ -4,7 +4,7 @@
* 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
@@ -25,7 +25,7 @@ int _lseek(int fd, int off, int w);
int _read(int fd, void *b, int nb);
int _getpid(void);
-int
+int
_close(int fd)
{
return -1;
@@ -38,31 +38,31 @@ _fstat(int fd, void *s)
}
-void
+void
_exit(int s)
{
- while (1) {}
+ while (1) {}
}
-int
+int
_kill(int pid, int sig)
{
return -1;
}
-int
-_write(int fd, void *b, int nb)
+int
+_write(int fd, void *b, int nb)
{
return -1;
}
-int
+int
_isatty(int c)
{
return -1;
}
-int
+int
_lseek(int fd, int off, int w)
{
return -1;
@@ -74,7 +74,7 @@ _read(int fd, void *b, int nb)
return -1;
}
-int
+int
_getpid(void) {
return -1;
}
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva/blob/fda6d9d7/hw/bsp/olimex_stm32-e407_devboard/src/libc_stubs.c
----------------------------------------------------------------------
diff --git a/hw/bsp/olimex_stm32-e407_devboard/src/libc_stubs.c b/hw/bsp/olimex_stm32-e407_devboard/src/libc_stubs.c
index d10afc8..450b5ec 100644
--- a/hw/bsp/olimex_stm32-e407_devboard/src/libc_stubs.c
+++ b/hw/bsp/olimex_stm32-e407_devboard/src/libc_stubs.c
@@ -4,7 +4,7 @@
* 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
@@ -25,7 +25,7 @@ int _lseek(int fd, int off, int w);
int _read(int fd, void *b, int nb);
int _getpid(void);
-int
+int
_close(int fd)
{
return -1;
@@ -38,31 +38,31 @@ _fstat(int fd, void *s)
}
-void
+void
_exit(int s)
{
- while (1) {}
+ while (1) {}
}
-int
+int
_kill(int pid, int sig)
{
return -1;
}
-int
-_write(int fd, void *b, int nb)
+int
+_write(int fd, void *b, int nb)
{
return -1;
}
-int
+int
_isatty(int c)
{
return -1;
}
-int
+int
_lseek(int fd, int off, int w)
{
return -1;
@@ -74,7 +74,7 @@ _read(int fd, void *b, int nb)
return -1;
}
-int
+int
_getpid(void) {
return -1;
}
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva/blob/fda6d9d7/hw/bsp/stm32f3discovery/src/libc_stubs.c
----------------------------------------------------------------------
diff --git a/hw/bsp/stm32f3discovery/src/libc_stubs.c b/hw/bsp/stm32f3discovery/src/libc_stubs.c
index d10afc8..0d2ff7e 100644
--- a/hw/bsp/stm32f3discovery/src/libc_stubs.c
+++ b/hw/bsp/stm32f3discovery/src/libc_stubs.c
@@ -4,7 +4,7 @@
* 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
@@ -13,7 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
void * _sbrk(int c);
int _close(int fd);
int _fstat(int fd, void *s);
@@ -25,7 +24,7 @@ int _lseek(int fd, int off, int w);
int _read(int fd, void *b, int nb);
int _getpid(void);
-int
+int
_close(int fd)
{
return -1;
@@ -38,31 +37,31 @@ _fstat(int fd, void *s)
}
-void
+void
_exit(int s)
{
- while (1) {}
+ while (1) {}
}
-int
+int
_kill(int pid, int sig)
{
return -1;
}
-int
-_write(int fd, void *b, int nb)
+int
+_write(int fd, void *b, int nb)
{
return -1;
}
-int
+int
_isatty(int c)
{
return -1;
}
-int
+int
_lseek(int fd, int off, int w)
{
return -1;
@@ -74,7 +73,7 @@ _read(int fd, void *b, int nb)
return -1;
}
-int
+int
_getpid(void) {
return -1;
}