converted any C++ comments to C comments using script.

This commit is contained in:
skarg
2012-05-13 15:08:17 +00:00
parent 48e2c60ce2
commit f47c1df1b4
4 changed files with 78 additions and 78 deletions
+9 -9
View File
@@ -46,19 +46,19 @@ size_t memcopy(
size_t len, /* amount of data to copy */
size_t max)
{ /* total size of destination */
// size_t i;
// size_t copy_len = 0;
// char *s1, *s2;
/* size_t i; */
/* size_t copy_len = 0; */
/* char *s1, *s2; */
// s1 = dest;
// s2 = src;
/* s1 = dest; */
/* s2 = src; */
if (len <= (max - offset)) {
memcpy(&((char *) dest)[offset], src, len);
return (len);
// for (i = 0; i < len; i++) {
// s1[offset + i] = s2[i];
// copy_len++;
// }
/* for (i = 0; i < len; i++) { */
/* s1[offset + i] = s2[i]; */
/* copy_len++; */
/* } */
}
return 0;