amagnasco / xwpe

Upload of an abandoned ncurses-based programming environment
http://www.identicalsoftware.com/xwpe/
GNU General Public License v2.0
29 stars 6 forks source link

edit.h is a global dependency in practically all c-programs #34

Open gbonnema opened 7 years ago

gbonnema commented 7 years ago

While several parts of edit.h are often dedicated to a specific module (c-program), edit.h is copied into practically all programs. This hinders understanding which program is using which other programs.

The action will be to separate the specific parts of edit.h into specific header files. For instance we_wind.c will get its own we_wind.h. That should simplily things, although we will get more includes, of course.

amagnasco commented 7 years ago

Nothing in the documentation as far as I saw.