summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Woodward2019-07-11 01:24:12 +0000
committerJason Woodward2019-07-14 19:59:59 -0400
commita805609d4b6e0cdcd17f5c0d32d5f235a7f2e909 (patch)
tree56813447ac8761422b5cbe2841b9106660f81073
parentc8d79ef43f04b7bbb898f981766803d3f89bde84 (diff)
downloadslapt-get-a805609d4b6e0cdcd17f5c0d32d5f235a7f2e909.tar.gz
rename src/gpgme.{c,h} to src/slaptgpgme.{c,h}
-rw-r--r--Makefile6
-rw-r--r--src/main.h2
-rw-r--r--src/slaptgpgme.c (renamed from src/gpgme.c)0
-rw-r--r--src/slaptgpgme.h (renamed from src/gpgme.h)0
4 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 2746bb8..6ca3984 100644
--- a/Makefile
+++ b/Makefile
@@ -22,9 +22,9 @@ LDFLAGS+=$(CURLFLAGS) -lz -lm
HAS_GPGME=$(shell gpgme-config --libs 2>&1 >/dev/null && echo 1)
ifeq ($(HAS_GPGME),1)
DEFINES+=-DSLAPT_HAS_GPGME
- OBJS+=src/gpgme.o
- LIBOBJS+=src/gpgme.o
- LIBHEADERS+=src/gpgme.h
+ OBJS+=src/slaptgpgme.o
+ LIBOBJS+=src/slaptgpgme.o
+ LIBHEADERS+=src/slaptgpgme.h
LDFLAGS+=`gpgme-config --libs`
endif
CFLAGS?=-W -Werror -Wall -Wextra -O2 -pedantic -Wshadow -Wstrict-overflow -fno-strict-aliasing -g
diff --git a/src/main.h b/src/main.h
index 2a4728b..dbe2d7d 100644
--- a/src/main.h
+++ b/src/main.h
@@ -50,7 +50,7 @@
#include "transaction.h"
#include "action.h"
#ifdef SLAPT_HAS_GPGME
-#include "gpgme.h"
+#include "slaptgpgme.h"
#endif
enum slapt_action {
diff --git a/src/gpgme.c b/src/slaptgpgme.c
index 5907ce9..5907ce9 100644
--- a/src/gpgme.c
+++ b/src/slaptgpgme.c
diff --git a/src/gpgme.h b/src/slaptgpgme.h
index 072f25b..072f25b 100644
--- a/src/gpgme.h
+++ b/src/slaptgpgme.h