aboutsummaryrefslogtreecommitdiff
path: root/jerry-libc
diff options
context:
space:
mode:
authorLászló Langó <llango.u-szeged@partner.samsung.com>2016-01-29 13:57:23 +0100
committerLászló Langó <llango.u-szeged@partner.samsung.com>2016-02-05 13:46:51 +0100
commitd038284bff2e212e2a44b14e383121aaf5434131 (patch)
tree228e1de854136cbed1a2e3a95b0f3f83f0ad18b4 /jerry-libc
parent41f6cbb3aca8260c6cc7eef064ec45946041252f (diff)
Style fix: fix comments at the end of function definitions.
JerryScript-DCO-1.0-Signed-off-by: László Langó llango.u-szeged@partner.samsung.com
Diffstat (limited to 'jerry-libc')
-rw-r--r--jerry-libc/jerry-libc-printf.c4
-rw-r--r--jerry-libc/jerry-libc.c8
2 files changed, 6 insertions, 6 deletions
diff --git a/jerry-libc/jerry-libc-printf.c b/jerry-libc/jerry-libc-printf.c
index 6dde0785..fb2e8055 100644
--- a/jerry-libc/jerry-libc-printf.c
+++ b/jerry-libc/jerry-libc-printf.c
@@ -304,7 +304,7 @@ libc_printf_write_d_i (FILE *stream, /**< stream pointer */
width,
flags & LIBC_PRINTF_ARG_FLAG_LEFT_JUSTIFY,
flags & LIBC_PRINTF_ARG_FLAG_ZERO_PADDING);
-} /** libc_printf_write_d_i */
+} /* libc_printf_write_d_i */
/**
* printf helper function that prints d and i arguments
@@ -470,7 +470,7 @@ libc_printf_write_u_o_x_X (FILE *stream, /**< stream pointer */
width,
flags & LIBC_PRINTF_ARG_FLAG_LEFT_JUSTIFY,
flags & LIBC_PRINTF_ARG_FLAG_ZERO_PADDING);
-} /** libc_printf_write_u_o_x_X */
+} /* libc_printf_write_u_o_x_X */
/**
* vfprintf
diff --git a/jerry-libc/jerry-libc.c b/jerry-libc/jerry-libc.c
index d53c563c..dd53ded7 100644
--- a/jerry-libc/jerry-libc.c
+++ b/jerry-libc/jerry-libc.c
@@ -173,7 +173,7 @@ strcmp (const char *str1, const char *str2)
while (s1 == s2);
return (s1 < s2) ? -1 : (s1 > s2 ? 1 : 0);
-}
+} /* strcmp */
/** Compare two strings. return an integer less than, equal to, or greater than zero
if the first n character of s1 is found, respectively, to be less than, to match,
@@ -217,7 +217,7 @@ strncmp (const char *s1, const char *s2, size_t n)
}
return 0;
-}
+} /* strncmp */
/** 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.
@@ -237,7 +237,7 @@ strncpy (char *dest, const char *src, size_t n)
}
return dest;
-}
+} /* strncpy */
/** Calculate the length of a string. */
size_t
@@ -250,7 +250,7 @@ strlen (const char *s)
}
return i;
-}
+} /* strlen */
/**
* Generate pseudo-random integer