refactor: iwyu (#26062)

This commit is contained in:
zeertzjq
2023-11-16 10:55:54 +08:00
committed by GitHub
parent 326d46f690
commit bb4b4576e3
37 changed files with 39 additions and 38 deletions

View File

@@ -1,7 +1,9 @@
#include <assert.h>
#include <stddef.h>
#include <stdint.h>
#include <string.h>
#include "auto/config.h"
#include "nvim/base64.h"
#include "nvim/memory.h"
@@ -9,6 +11,10 @@
# include ENDIAN_INCLUDE_FILE
#endif
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "base64.c.generated.h" // IWYU prgama: export
#endif
static const char alphabet[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
// Indices are 1-based because we use 0 to indicate a letter that is not part of the alphabet