Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Decoders/decode_ddl.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

#include "rdseed.h"
#include "ddl.h"

static char *blk_data_ptr;
static char *cur_data_ptr;
static union
Expand Down
6 changes: 4 additions & 2 deletions Include/ddl.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#ifndef HEADER_DDL
#define HEADER_DDL

struct ext_byte
{
int num_bytes;
Expand Down Expand Up @@ -157,5 +160,4 @@ struct prim_struct
struct prim_struct *next;
};

struct prim_struct *key[50];

#endif //HEADER_DDL
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,16 @@ CC = cc
#CFLAGS = -O -m64 -g -mmacosx-version-min=10.4

#else
CFLAGS = -O -m64 -g
CFLAGS = -O -m64 -g -Wno-incompatible-pointer-types -Wno-implicit-int -Wno-implicit-function-declaration

INCLUDE = -I../Include
INCLUDE = -I../Include -I/usr/include/ntirpc/

CFLAGSLINE = "$(INCLUDE) $(CFLAGS)"

# comment out one or the other of the LDFLAGS

# Default LDFLAGS should be good for Linux, Mac OSX, PC etc.
LDFLAGS = -lm -lc
LDFLAGS = -lm -lc -ltirpc

# Uncomment this line for Solaris
#LDFLAGS = -lm -lc -lnsl
Expand Down
2 changes: 1 addition & 1 deletion Printers/print_key.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#define TRUE 1
#define FALSE 0

Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# rdseed
rdseed – Read an FDSN SEED format volume

### Install the following libraries

```bash
apt install make g++ libnsl-dev libntirpc-dev
```

### NAME

rdseed - Read an FDSN SEED format volume
Expand Down