summaryrefslogtreecommitdiff
path: root/srd.c
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2016-05-24 21:42:02 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2016-05-25 15:14:23 +0200
commit135b790c851c52400279e7c932e1f900d91ae5cc (patch)
treec3bd5bc677c8e66044853bddc0e96cbdcfa2c376 /srd.c
parentae2181cd35e84ce81cfe58d2e0e05fdb3dfcb263 (diff)
downloadlibsigrokdecode-135b790c851c52400279e7c932e1f900d91ae5cc.tar.gz
libsigrokdecode-135b790c851c52400279e7c932e1f900d91ae5cc.zip
Move common/ directory into decoders/.
This simplifies cross-platform handling of the Python/decoder paths and module installation/dist a bit and also fixes bug #804.
Diffstat (limited to 'srd.c')
-rw-r--r--srd.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/srd.c b/srd.c
index c74d2de..2947ca8 100644
--- a/srd.c
+++ b/srd.c
@@ -169,12 +169,6 @@ SRD_API int srd_init(const char *path)
}
}
#ifdef DECODERS_DIR
- /* Common modules for use by any decoder. */
- if ((ret = srd_decoder_searchpath_add(COMMON_DIR)) != SRD_OK) {
- Py_Finalize();
- return ret;
- }
-
/* Hardcoded decoders install location, if defined. */
if ((ret = srd_decoder_searchpath_add(DECODERS_DIR)) != SRD_OK) {
Py_Finalize();