From 8ef3fb4e738c4021a1c779252a1dac53e09324fc Mon Sep 17 00:00:00 2001 From: KillTheMule Date: Thu, 10 May 2018 14:25:59 +0200 Subject: Use autogenerated declarations --- src/nvim/buffer_updates.h | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'src') diff --git a/src/nvim/buffer_updates.h b/src/nvim/buffer_updates.h index d052b8effb..b2d0a62270 100644 --- a/src/nvim/buffer_updates.h +++ b/src/nvim/buffer_updates.h @@ -3,14 +3,8 @@ #include "nvim/buffer_defs.h" -bool buf_updates_register(buf_T *buf, uint64_t channel_id, bool send_buffer); -void buf_updates_unregister(buf_T *buf, uint64_t channel_id); -void buf_updates_unregister_all(buf_T *buf); -void buf_updates_send_changes(buf_T *buf, - linenr_T firstline, - int64_t num_added, - int64_t num_removed, - bool send_tick); -void buf_updates_changedtick(buf_T *buf); +#ifdef INCLUDE_GENERATED_DECLARATIONS +# include "buffer_updates.h.generated.h" +#endif #endif // NVIM_BUFFER_UPDATES_H -- cgit