|
@@ -228,9 +228,6 @@ out:
|
|
* Create
|
|
* Create
|
|
**************************************************/
|
|
**************************************************/
|
|
|
|
|
|
-static void otrx_create_parse_options(int argc, char **argv) {
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
static ssize_t otrx_create_append_file(FILE *trx, const char *in_path) {
|
|
static ssize_t otrx_create_append_file(FILE *trx, const char *in_path) {
|
|
FILE *in;
|
|
FILE *in;
|
|
size_t bytes;
|
|
size_t bytes;
|
|
@@ -334,9 +331,6 @@ static int otrx_create(int argc, char **argv) {
|
|
}
|
|
}
|
|
trx_path = argv[2];
|
|
trx_path = argv[2];
|
|
|
|
|
|
- optind = 3;
|
|
|
|
- otrx_create_parse_options(argc, argv);
|
|
|
|
-
|
|
|
|
trx = fopen(trx_path, "w+");
|
|
trx = fopen(trx_path, "w+");
|
|
if (!trx) {
|
|
if (!trx) {
|
|
fprintf(stderr, "Couldn't open %s\n", trx_path);
|
|
fprintf(stderr, "Couldn't open %s\n", trx_path);
|