Only define the contents of a struct minitar inside minitar
This structure should be opaque for everyone using the library, and every public API just uses a pointer to it.
This commit is contained in:
parent
6c916ad861
commit
6bb0fecdc4
2
Makefile
2
Makefile
@ -6,7 +6,7 @@ SRC := src
|
|||||||
CC ?= gcc
|
CC ?= gcc
|
||||||
AR ?= ar
|
AR ?= ar
|
||||||
CFLAGS ?= -O2 -Wall -Wextra
|
CFLAGS ?= -O2 -Wall -Wextra
|
||||||
CFLAGS := ${CFLAGS} -I.
|
CFLAGS := ${CFLAGS} -I. -D_IN_MINITAR
|
||||||
DESTDIR ?= /usr/local
|
DESTDIR ?= /usr/local
|
||||||
|
|
||||||
OBJS := $(OBJ)/tar.o \
|
OBJS := $(OBJ)/tar.o \
|
||||||
|
Loading…
Reference in New Issue
Block a user