diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-09-04 17:51:56 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-09-04 17:51:56 +0000 |
commit | 12c1baf75784c6ecc7590066cfdead8fbb712725 (patch) | |
tree | 23dfd1d71e322b3af95e5543522fae35706b4dbb | |
parent | a67ccfeeb7e37e3f8647e89223cf7df36e288335 (diff) | |
download | libextractor-12c1baf75784c6ecc7590066cfdead8fbb712725.tar.gz libextractor-12c1baf75784c6ecc7590066cfdead8fbb712725.zip |
-removing dead code from common lib and API
-rw-r--r-- | src/common/Makefile.am | 13 | ||||
-rw-r--r-- | src/common/le_architecture.h | 18 | ||||
-rw-r--r-- | src/plugins/old/convert_numeric.c (renamed from src/common/convert_numeric.c) | 0 | ||||
-rw-r--r-- | src/plugins/old/convert_numeric.h (renamed from src/common/convert_numeric.h) | 0 | ||||
-rw-r--r-- | src/plugins/old/pack.c (renamed from src/common/pack.c) | 0 | ||||
-rw-r--r-- | src/plugins/old/pack.h (renamed from src/common/pack.h) | 0 |
6 files changed, 4 insertions, 27 deletions
diff --git a/src/common/Makefile.am b/src/common/Makefile.am index f12f5eb..d05b74c 100644 --- a/src/common/Makefile.am +++ b/src/common/Makefile.am | |||
@@ -7,18 +7,13 @@ lib_LTLIBRARIES = \ | |||
7 | libextractor_common.la | 7 | libextractor_common.la |
8 | 8 | ||
9 | libextractor_common_la_LDFLAGS = \ | 9 | libextractor_common_la_LDFLAGS = \ |
10 | $(LE_LIB_LDFLAGS) | 10 | $(LE_LIB_LDFLAGS) \ |
11 | -version-info 1:0:0 | ||
11 | 12 | ||
12 | libextractor_common_la_LIBADD = \ | 13 | libextractor_common_la_LIBADD = \ |
13 | $(LTLIBICONV) -lz | 14 | $(LTLIBICONV) -lz |
14 | 15 | ||
15 | libextractor_common_la_SOURCES = \ | 16 | libextractor_common_la_SOURCES = \ |
16 | le_architecture.h \ | 17 | le_architecture.h \ |
17 | unzip.c \ | 18 | unzip.c unzip.h \ |
18 | unzip.h \ | 19 | convert.c convert.h |
19 | pack.c \ | ||
20 | pack.h \ | ||
21 | convert.c \ | ||
22 | convert.h \ | ||
23 | convert_numeric.c \ | ||
24 | convert_numeric.h | ||
diff --git a/src/common/le_architecture.h b/src/common/le_architecture.h index d8f28f7..5a34983 100644 --- a/src/common/le_architecture.h +++ b/src/common/le_architecture.h | |||
@@ -101,24 +101,6 @@ | |||
101 | */ | 101 | */ |
102 | #define LE_PACKED __attribute__((packed)) | 102 | #define LE_PACKED __attribute__((packed)) |
103 | 103 | ||
104 | /** | ||
105 | * gcc-ism to get gcc bitfield layout when compiling with -mms-bitfields | ||
106 | */ | ||
107 | #ifdef __MINGW32__ | ||
108 | #define LE_GCC_STRUCT_LAYOUT __attribute__((gcc_struct)) | ||
109 | #else | ||
110 | #define LE_GCC_STRUCT_LAYOUT | ||
111 | #endif | ||
112 | |||
113 | /** | ||
114 | * gcc-ism to document unused arguments | ||
115 | */ | ||
116 | #define LE_UNUSED __attribute__((unused)) | ||
117 | |||
118 | /** | ||
119 | * gcc-ism to document functions that don't return | ||
120 | */ | ||
121 | #define LE_NORETURN __attribute__((noreturn)) | ||
122 | 104 | ||
123 | #if MINGW | 105 | #if MINGW |
124 | #if __GNUC__ > 3 | 106 | #if __GNUC__ > 3 |
diff --git a/src/common/convert_numeric.c b/src/plugins/old/convert_numeric.c index b345014..b345014 100644 --- a/src/common/convert_numeric.c +++ b/src/plugins/old/convert_numeric.c | |||
diff --git a/src/common/convert_numeric.h b/src/plugins/old/convert_numeric.h index cc425f5..cc425f5 100644 --- a/src/common/convert_numeric.h +++ b/src/plugins/old/convert_numeric.h | |||
diff --git a/src/common/pack.c b/src/plugins/old/pack.c index 968cf67..968cf67 100644 --- a/src/common/pack.c +++ b/src/plugins/old/pack.c | |||
diff --git a/src/common/pack.h b/src/plugins/old/pack.h index fe4e168..fe4e168 100644 --- a/src/common/pack.h +++ b/src/plugins/old/pack.h | |||