aboutsummaryrefslogtreecommitdiff
path: root/jerry-libc
diff options
context:
space:
mode:
authorRobert Sipka <rsipka.uszeged@partner.samsung.com>2016-11-29 15:54:35 +0100
committerTilmann Scheller <t.scheller@samsung.com>2016-11-29 15:54:35 +0100
commitfb3e8cf8b814a8aceaa57419edae6e88c2fb2626 (patch)
treebb4485ceb88c81d5ebd040712ff4cee41de5b6e1 /jerry-libc
parent4d2c22a11818cf1e7d4e99a272e2b0699c93ba45 (diff)
Replace `//` double slash comments with `/* */`. (#1461)
JerryScript-DCO-1.0-Signed-off-by: Robert Sipka rsipka.uszeged@partner.samsung.com
Diffstat (limited to 'jerry-libc')
-rw-r--r--jerry-libc/jerry-libc-printf.c2
-rw-r--r--jerry-libc/jerry-libc.c8
-rw-r--r--jerry-libc/target/posix/jerry-libc-target.c2
3 files changed, 6 insertions, 6 deletions
diff --git a/jerry-libc/jerry-libc-printf.c b/jerry-libc/jerry-libc-printf.c
index d1c6407a..0682471d 100644
--- a/jerry-libc/jerry-libc-printf.c
+++ b/jerry-libc/jerry-libc-printf.c
@@ -525,7 +525,7 @@ vfprintf (FILE *stream, /**< stream pointer */
assert (false && "unsupported width field *");
}
- // If there is a number, recognize it as field width
+ /* If there is a number, recognize it as field width. */
while (*format_iter_p >= '0' && *format_iter_p <= '9')
{
width = width * 10u + (uint32_t) (*format_iter_p - '0');
diff --git a/jerry-libc/jerry-libc.c b/jerry-libc/jerry-libc.c
index 5d7c19b6..a0a62ce2 100644
--- a/jerry-libc/jerry-libc.c
+++ b/jerry-libc/jerry-libc.c
@@ -56,7 +56,7 @@ CALL_PRAGMA (GCC optimize ("-fno-tree-loop-distribute-patterns"))
*
* @return @a s
*/
-void * __attr_used___ // FIXME
+void * __attr_used___
memset (void *s, /**< area to set values in */
int c, /**< value to set */
size_t n) /**< area size */
@@ -98,7 +98,7 @@ memcmp (const void *s1, /**< first area */
/**
* memcpy
*/
-void * __attr_used___ // FIXME
+void * __attr_used___
memcpy (void *s1, /**< destination */
const void *s2, /**< source */
size_t n) /**< bytes number */
@@ -137,7 +137,7 @@ memcpy (void *s1, /**< destination */
*
* @return the dest pointer's value
*/
-void * __attr_used___ // FIXME
+void * __attr_used___
memmove (void *s1, /**< destination */
const void *s2, /**< source */
size_t n) /**< bytes number */
@@ -216,7 +216,7 @@ strncmp (const char *s1, const char *s2, size_t n)
/** Copy a string. At most n bytes of src are copied. Warning: If there is no
null byte among the first n bytes of src, the string placed in dest will not be null-terminated.
@return a pointer to the destination string dest. */
-char * __attr_used___ // FIXME
+char * __attr_used___
strncpy (char *dest, const char *src, size_t n)
{
while (n--)
diff --git a/jerry-libc/target/posix/jerry-libc-target.c b/jerry-libc/target/posix/jerry-libc-target.c
index aac25b53..ab48932b 100644
--- a/jerry-libc/target/posix/jerry-libc-target.c
+++ b/jerry-libc/target/posix/jerry-libc-target.c
@@ -272,7 +272,7 @@ gettimeofday (void *tp, /**< struct timeval */
return (int) syscall_2 (SYSCALL_NO (gettimeofday), (long int) tp, (long int) tzp);
} /* gettimeofday */
-// FIXME
+/* FIXME */
#if 0
/**
* Setup new memory limits