projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Rework in the test framework; updated and new tests
[mmh]
/
sbr
/
concat.c
diff --git
a/sbr/concat.c
b/sbr/concat.c
index
4c3fcff
..
4a57656
100644
(file)
--- a/
sbr/concat.c
+++ b/
sbr/concat.c
@@
-9,6
+9,18
@@
#include <h/mh.h>
#include <h/utils.h>
+#include <stdarg.h>
+
+
+static char *
+copy(char *from, char *to)
+{
+ while ((*to = *from)) {
+ to++;
+ from++;
+ }
+ return (to);
+}
char *