From b1ab155883b7dac67054a80eca97122034950d6f Mon Sep 17 00:00:00 2001 From: Max Horn Date: Thu, 16 Nov 2017 16:11:48 +0100 Subject: [PATCH] Add src/applications/ --- Makefile.rules | 2 +- src/applications/README.md | 0 src/{ => applications}/listfunc.c | 18 +++++++++--------- src/{ => applications}/listfunc.h | 0 src/{ => applications}/sortbase.h | 0 src/compiled.h | 2 +- src/core/opers.c | 2 +- src/core/set.c | 2 +- src/gap.c | 2 +- src/general/iostream.c | 2 +- src/hpc/aobjects.c | 2 +- src/hpc/threadapi.c | 2 +- src/math/dt.c | 2 +- src/math/dteval.c | 2 +- src/math/listoper.c | 2 +- src/sysfiles.c | 2 +- src/tnums/trans.c | 2 +- 17 files changed, 22 insertions(+), 22 deletions(-) create mode 100644 src/applications/README.md rename src/{ => applications}/listfunc.c (99%) rename src/{ => applications}/listfunc.h (100%) rename src/{ => applications}/sortbase.h (100%) diff --git a/Makefile.rules b/Makefile.rules index ed948d8aac6..5193eb55266 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -57,7 +57,7 @@ SOURCES += src/interpreter/hookintrprtr.c SOURCES += src/general/intfuncs.c SOURCES += src/interpreter/intrprtr.c SOURCES += src/general/iostream.c -SOURCES += src/listfunc.c +SOURCES += src/applications/listfunc.c SOURCES += src/math/listoper.c SOURCES += src/core/lists.c SOURCES += src/tnums/macfloat.c diff --git a/src/applications/README.md b/src/applications/README.md new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/listfunc.c b/src/applications/listfunc.c similarity index 99% rename from src/listfunc.c rename to src/applications/listfunc.c index d4eb75e0322..5f5c1188cc1 100644 --- a/src/listfunc.c +++ b/src/applications/listfunc.c @@ -39,7 +39,7 @@ #include /* transformations */ #include /* partial perms */ -#include /* functions for generic lists */ +#include /* functions for generic lists */ #include /* plain lists */ #include /* plain sets */ @@ -640,7 +640,7 @@ Obj FuncPOSITION_FIRST_COMPONENT_SORTED ( if(IS_PLIST(list)) \ RESET_FILT_LIST(list, FN_IS_NSORT); -#include +#include #define SORT_FUNC_NAME SortDensePlist #define SORT_FUNC_ARGS Obj list @@ -655,7 +655,7 @@ Obj FuncPOSITION_FIRST_COMPONENT_SORTED ( #define SORT_FILTER_CHECKS() \ RESET_FILT_LIST(list, FN_IS_NSORT); -#include +#include /**************************************************************************** ** @@ -678,7 +678,7 @@ Obj FuncPOSITION_FIRST_COMPONENT_SORTED ( RESET_FILT_LIST(list, FN_IS_SSORT); \ RESET_FILT_LIST(list, FN_IS_NSORT); -#include +#include #define SORT_FUNC_NAME SortDensePlistComp #define SORT_FUNC_ARGS Obj list, Obj func @@ -695,7 +695,7 @@ Obj FuncPOSITION_FIRST_COMPONENT_SORTED ( RESET_FILT_LIST(list, FN_IS_SSORT); \ RESET_FILT_LIST(list, FN_IS_NSORT); -#include +#include /**************************************************************************** ** @@ -750,7 +750,7 @@ Obj FuncPOSITION_FIRST_COMPONENT_SORTED ( RESET_FILT_LIST(shadow, FN_IS_SSORT); \ RESET_FILT_LIST(shadow, FN_IS_NSORT); -#include +#include #define SORT_FUNC_NAME SortParaDensePlist #define SORT_FUNC_ARGS Obj list, Obj shadow @@ -773,7 +773,7 @@ Obj FuncPOSITION_FIRST_COMPONENT_SORTED ( RESET_FILT_LIST(shadow, FN_IS_SSORT); \ RESET_FILT_LIST(shadow, FN_IS_NSORT); -#include +#include #define SORT_FUNC_NAME SORT_PARA_LISTComp #define SORT_FUNC_ARGS Obj list, Obj shadow, Obj func @@ -794,7 +794,7 @@ Obj FuncPOSITION_FIRST_COMPONENT_SORTED ( RESET_FILT_LIST(shadow, FN_IS_NSORT); \ RESET_FILT_LIST(shadow, FN_IS_SSORT); -#include +#include #define SORT_FUNC_NAME SortParaDensePlistComp #define SORT_FUNC_ARGS Obj list, Obj shadow, Obj func @@ -817,7 +817,7 @@ Obj FuncPOSITION_FIRST_COMPONENT_SORTED ( RESET_FILT_LIST(shadow, FN_IS_NSORT); \ RESET_FILT_LIST(shadow, FN_IS_SSORT); -#include +#include diff --git a/src/listfunc.h b/src/applications/listfunc.h similarity index 100% rename from src/listfunc.h rename to src/applications/listfunc.h diff --git a/src/sortbase.h b/src/applications/sortbase.h similarity index 100% rename from src/sortbase.h rename to src/applications/sortbase.h diff --git a/src/compiled.h b/src/compiled.h index 3d914a4bf1a..5921ca68035 100644 --- a/src/compiled.h +++ b/src/compiled.h @@ -46,7 +46,7 @@ extern "C" { #include /* generic lists */ #include /* operations for generic lists */ -#include /* functions for generic lists */ +#include /* functions for generic lists */ #include /* plain lists */ #include /* plain sets */ #include /* functions for plain vectors */ diff --git a/src/core/opers.c b/src/core/opers.c index 5b22e9f8cd3..d2e69dbf7d2 100644 --- a/src/core/opers.c +++ b/src/core/opers.c @@ -45,7 +45,7 @@ #include /* saving and loading */ -#include +#include #include #ifdef HPCGAP diff --git a/src/core/set.c b/src/core/set.c index 6432bf913ee..bc987559bec 100644 --- a/src/core/set.c +++ b/src/core/set.c @@ -42,7 +42,7 @@ #include /* plain records */ #include /* generic lists */ -#include /* functions for generic lists */ +#include /* functions for generic lists */ #include /* plain lists */ #include /* plain sets */ diff --git a/src/gap.c b/src/gap.c index cef2ffbc348..e7f29528d3e 100644 --- a/src/gap.c +++ b/src/gap.c @@ -51,7 +51,7 @@ #include /* generic lists */ #include /* operations for generic lists */ -#include /* functions for generic lists */ +#include /* functions for generic lists */ #include /* plain lists */ #include /* plain sets */ #include /* functions for plain vectors */ diff --git a/src/general/iostream.c b/src/general/iostream.c index 435a1869b76..60dfc6574eb 100644 --- a/src/general/iostream.c +++ b/src/general/iostream.c @@ -34,7 +34,7 @@ #include /* global variables */ #include /* generic lists */ -#include /* functions for generic lists */ +#include /* functions for generic lists */ #include /* plain lists */ #include /* strings */ diff --git a/src/hpc/aobjects.c b/src/hpc/aobjects.c index ed9916e01d2..a02fd04300e 100644 --- a/src/hpc/aobjects.c +++ b/src/hpc/aobjects.c @@ -36,7 +36,7 @@ #include /* generic lists */ #include /* operations for generic lists */ -#include /* functions for generic lists */ +#include /* functions for generic lists */ #include /* plain lists */ diff --git a/src/hpc/threadapi.c b/src/hpc/threadapi.c index d91f8ceb5ea..a97101b33e9 100644 --- a/src/hpc/threadapi.c +++ b/src/hpc/threadapi.c @@ -42,7 +42,7 @@ #include /* generic lists */ #include /* operations for generic lists */ -#include /* functions for generic lists */ +#include /* functions for generic lists */ #include /* plain lists */ #include /* set */ #include /* strings */ diff --git a/src/math/dt.c b/src/math/dt.c index 05b045e5abd..193119253ee 100644 --- a/src/math/dt.c +++ b/src/math/dt.c @@ -70,7 +70,7 @@ #include /* plain records */ #include /* generic lists */ -#include /* functions for generic lists */ +#include /* functions for generic lists */ #include /* plain lists */ diff --git a/src/math/dteval.c b/src/math/dteval.c index 27fbf2d3df7..fd633c2dda6 100644 --- a/src/math/dteval.c +++ b/src/math/dteval.c @@ -47,7 +47,7 @@ #include /* plain records */ #include /* generic lists */ -#include /* functions for generic lists */ +#include /* functions for generic lists */ #include /* plain lists */ #include diff --git a/src/math/listoper.c b/src/math/listoper.c index 7a3f9eaa5ce..b1506df9a02 100644 --- a/src/math/listoper.c +++ b/src/math/listoper.c @@ -36,7 +36,7 @@ #include /* generic lists */ #include /* operations for generic lists */ -#include /* functions for generic lists */ +#include /* functions for generic lists */ #include /* plain lists */ #include /* TRY_NEXT_METHOD */ #include /* Ranges */ diff --git a/src/sysfiles.c b/src/sysfiles.c index b0800d9df08..a11d79a2cc7 100644 --- a/src/sysfiles.c +++ b/src/sysfiles.c @@ -31,7 +31,7 @@ #include /* generic call mechanism */ #include /* generic lists */ -#include /* functions for generic lists */ +#include /* functions for generic lists */ #include /* plain lists */ #include /* strings */ diff --git a/src/tnums/trans.c b/src/tnums/trans.c index 65c808db31f..aea215bbc96 100644 --- a/src/tnums/trans.c +++ b/src/tnums/trans.c @@ -67,7 +67,7 @@ #include /* plain records */ #include /* generic lists */ -#include /* functions for lists */ +#include /* functions for lists */ #include /* plain lists */ #include /* saving and loading */