editor: move editor-related functions and declarations into common file

cache.h and strbuf.[ch] had editor-related functions.  Move these into
editor.[ch].

Signed-off-by: Elijah Newren <newren@gmail.com>
Acked-by: Calvin Wan <calvinwan@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Elijah Newren
2023-04-11 00:41:57 -07:00
committed by Junio C Hamano
parent d812c3b6a0
commit 4e120823a3
21 changed files with 80 additions and 55 deletions

View File

@ -10,6 +10,7 @@
#include "cache.h"
#include "config.h"
#include "builtin.h"
#include "editor.h"
#include "gettext.h"
#include "hex.h"
#include "notes.h"