*/
#include <mit-copyright.h>
-#include <sms.h>
+#include <moira.h>
+#include <string.h>
+
+extern char *malloc();
struct save_queue *
sq_create()
for (i = 0; i < argc; i++) {
n = strlen(argv[i]) + 1;
argv_copy[i] = (char *)malloc(n);
- bcopy(argv[i], argv_copy[i], n);
+ memcpy(argv_copy[i], argv[i], n);
}
- sq_save_data(sq, argv_copy);
+ sq_save_data(sq, (char *)argv_copy);
}
sq_save_unique_data(sq, data)