uniba-swt / swtbahn-cli

A client-server command line interface for the SWTbahn.
GNU General Public License v3.0
7 stars 3 forks source link

header files missing includes #115

Closed BLuedtke closed 1 year ago

BLuedtke commented 1 year ago

Some .h files in the server source do not import/#include the headers where the types used are defined. This is completely fine for compilation, as the includes are dealt with as part of .c files and build setup.
However, language servers such as clangd will complain about missing type definitions when working on the codebase in, e.g., VSCode. A quality-of-life improvement would be to add the necessary imports to the headers.

The headers in question are, as far as I can see:

I'm not sure if dyn_containers and tick_data don't have any includes for ForeC-toolchain related reasons.