CVSROOT: /cvs Module name: src Changes by: schwa...@cvs.openbsd.org 2016/05/22 17:09:56
Modified files: lib/libedit : chared.c chared.h common.c el.c read.c read.h Log message: Improve modularization at the chared/read boundary, no functional change. Stop the read.c module from poking the el_chared.c_macro data structure that used to belong to the chared.c module. Given that no other module, not even chared itself, is using that data, move it into the read modules's own opaque data structure, struct el_read_t. That gets rid of one struct, one #define, one struct member, and one function argument in the chared.h interface. OK czarkoff@