aboutsummaryrefslogtreecommitdiff
path: root/src/pj_list.c
diff options
context:
space:
mode:
authorThomas Knudsen <busstoptaktik@users.noreply.github.com>2017-11-13 00:33:40 +0100
committerGitHub <noreply@github.com>2017-11-13 00:33:40 +0100
commit06b2f944d7844bb898ace8a7973f9182aa2234b1 (patch)
tree8cdf833ad2e3ee2c84a53404cad23cc22c57db92 /src/pj_list.c
parent1d54ce2b6f47b9d60bfd28ad0d33a883be3d510a (diff)
downloadPROJ-06b2f944d7844bb898ace8a7973f9182aa2234b1.tar.gz
PROJ-06b2f944d7844bb898ace8a7973f9182aa2234b1.zip
Removed remaining traces of the built in selftest system (#661)
* Removed remaining traces of the builtin selftest system. Moved all functionality to test/gie * Updated Appveyor and Travis build scripts * Another appveyor script update
Diffstat (limited to 'src/pj_list.c')
-rw-r--r--src/pj_list.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/pj_list.c b/src/pj_list.c
index 9fde000f..2bdd3053 100644
--- a/src/pj_list.c
+++ b/src/pj_list.c
@@ -6,26 +6,16 @@
#include "projects.h"
-
-#define PASTE(a,b) a##b
-
/* Generate prototypes for projection functions */
#define PROJ_HEAD(id, name) struct PJconsts *pj_##id(struct PJconsts*);
#include "pj_list.h"
#undef PROJ_HEAD
-/* Generate prototypes for projection selftest functions */
-#define PROJ_HEAD(id, name) int PASTE(pj_##id, _selftest) (void);
-#include "pj_list.h"
-#undef PROJ_HEAD
-
-
/* Generate extern declarations for description strings */
#define PROJ_HEAD(id, name) extern char * const pj_s_##id;
#include "pj_list.h"
#undef PROJ_HEAD
-
/* Generate the null-terminated list of projection functions with associated mnemonics and descriptions */
#define PROJ_HEAD(id, name) {#id, pj_##id, &pj_s_##id},
struct PJ_LIST pj_list[] = {
@@ -35,21 +25,6 @@ struct PJ_LIST pj_list[] = {
#undef PROJ_HEAD
-/* Generate the null-terminated list of projection selftest functions with associated mnemonics */
-#define PROJ_HEAD(id, name) {#id, PASTE(pj_##id, _selftest)},
-struct PJ_SELFTEST_LIST pj_selftest_list[] = {
-#include "pj_list.h"
- {0, 0},
- };
-#undef PROJ_HEAD
-#undef PASTE
-
-
struct PJ_LIST *pj_get_list_ref (void) {
return pj_list;
}
-
-
-struct PJ_SELFTEST_LIST *pj_get_selftest_list_ref (void) {
- return pj_selftest_list;
-}