Skip to content

Commit c0061d7

Browse files
committed
Remove white spaces in applications
No white spaces found in lib. Remove white spaces in applications folder.
1 parent 3c1d606 commit c0061d7

File tree

4 files changed

+16
-18
lines changed

4 files changed

+16
-18
lines changed

applications/segyinfo.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ static void printSegyTraceInfo( const char* buf ) {
2323
#define maximum(x,y) ((x) > (y) ? (x) : (y))
2424

2525
int main(int argc, char* argv[]) {
26-
26+
2727
if( argc < 2 ) {
2828
puts("Missing argument, expected run signature:");
2929
printf(" %s <segy_file> [mmap]\n", argv[0]);

applications/segyinspect.c

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,21 @@
99
static const char* getSampleFormatName( int format ) {
1010
switch( format ) {
1111
case SEGY_IBM_FLOAT_4_BYTE:
12-
return "IBM Float";
12+
return "IBM Float";
1313
case SEGY_SIGNED_INTEGER_4_BYTE:
14-
return "Int 32";
14+
return "Int 32";
1515
case SEGY_SIGNED_SHORT_2_BYTE:
16-
return "Int 16";
16+
return "Int 16";
1717
case SEGY_FIXED_POINT_WITH_GAIN_4_BYTE:
18-
return "Fixed Point with gain (Obsolete)";
18+
return "Fixed Point with gain (Obsolete)";
1919
case SEGY_IEEE_FLOAT_4_BYTE:
20-
return "IEEE Float";
20+
return "IEEE Float";
2121
case SEGY_NOT_IN_USE_1:
22-
return "Not in Use 1";
22+
return "Not in Use 1";
2323
case SEGY_NOT_IN_USE_2:
24-
return "Not in Use 2";
24+
return "Not in Use 2";
2525
case SEGY_SIGNED_CHAR_1_BYTE:
26-
return "Int 8";
26+
return "Int 8";
2727
default:
2828
return "Unknown";
2929
}

applications/segyio-catb.c

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ static struct options parse_options( int argc, char** argv ){
5454
opts.description = 0;
5555
opts.version = 0, opts.help = 0;
5656
opts.errmsg = NULL;
57-
57+
5858
static struct option long_options[] = {
5959
{"version", no_argument, 0, 'V'},
6060
{"help", no_argument, 0, 'h'},
@@ -64,15 +64,15 @@ static struct options parse_options( int argc, char** argv ){
6464
};
6565

6666
opterr = 1;
67-
67+
6868
while( true ){
6969

7070
int option_index = 0;
7171
int c = getopt_long( argc, argv, "nd",
7272
long_options, &option_index);
7373

7474
if ( c == -1 ) break;
75-
75+
7676
switch( c ){
7777
case 0: break;
7878
case 'h': opts.help = 1; return opts;
@@ -188,15 +188,15 @@ int main( int argc, char** argv ){
188188
SEGY_BIN_TRACE_FLAG,
189189
SEGY_BIN_EXT_HEADERS
190190
};
191-
191+
192192
if( argc == 1 ){
193193
int err = errmsg(2, "Missing argument\n");
194194
printhelp();
195195
return err;
196196
}
197197

198198
struct options opts = parse_options( argc, argv );
199-
199+
200200
if( opts.help ) return printhelp();
201201
if( opts.version ) return printversion( "segyio-catb" );
202202

@@ -206,9 +206,9 @@ int main( int argc, char** argv ){
206206
if( !fp ) return errmsg(opterr, "No such file or directory");
207207

208208
char binheader[ SEGY_BINARY_HEADER_SIZE ];
209-
int err = segy_binheader( fp, binheader );
209+
int err = segy_binheader( fp, binheader );
210210

211-
if( err ) return errmsg(opterr, "Unable to read binary header");
211+
if( err ) return errmsg(opterr, "Unable to read binary header");
212212

213213
for( int c = 0; c < 30; ++c ){
214214
int field = get_binary_value( binheader, bfield_value[ c ] );
@@ -229,4 +229,3 @@ int main( int argc, char** argv ){
229229
}
230230
return 0;
231231
}
232-

applications/segyio-catr.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -730,4 +730,3 @@ int main( int argc, char** argv ) {
730730

731731
return 0;
732732
}
733-

0 commit comments

Comments
 (0)