move values for reg_do_extmatch to regexp.h
move do_ecmd and read_viminfo flags to ex_cmds.h
move check_changed() flags to ex_cmds2.h
move buf_freeall() flags to bufferh
move beginline() and insertchar() flags to edit.h
move do_cmdline() flags to ex_docmd.h
move mf_sync() flags to memfile.h
move flags to misc1.h and indent.h

misc1.h - open_line()
indent.h - set_indent()
move do_put() flags to ops.h
move buf_copy_options() flags to option.h
move do_tag() and find_tags() flags to tag.h
move chartab[] flags to charset.h
move do_dialog() flags to message.h
move vim_dialogyesno() flags to message.h
move win_split() flags to window.h
move history table flags to ex_getln.h

Used by add_to_history()
move operator ID's to ops.h
move event_T definition to filio.h
move skip_vimgrep_pat() flags to quickfix.h
move TBUFSZ to term.h