Code view:

A painting is a person's account of this edit as text, recorded independently of the node mapping - a rendering often has several equally defensible answers where the mapping has one. Deletions and insertions carry no position on the opposite side in a painting, so that panel draws no caret for them.

Before

…lines 1–8 unchanged (8 lines)
9
10#include <stdbool.h>
11#include <stddef.h>
12
13
14char* CGroup_filterName(const char* cgroup);
15
16#endif /* HEADER_CGroupUtils */
17

After

…lines 1–8 unchanged (8 lines)
9
10#include <stdbool.h>
11#include <stddef.h>
12
13
14char* CGroup_filterName(const char* cgroup);
15char* CGroup_filterContainer(const char* cgroup);
16
17#endif /* HEADER_CGroupUtils */
18

Before

translation_unit
preproc_ifdef
#ifndef "#ifndef"
identifier "HEADER_CGroupUtils"
preproc_def
#define "#define"
identifier "HEADER_CGroupUtils"
comment "/*\nhtop - CGroupUtils.h\n(C) 2021 htop dev team\nReleased unde"...
preproc_include
#include "#include"
system_lib_string "<stdbool.h>"
preproc_include
#include "#include"
system_lib_string "<stddef.h>"
declaration
primitive_type "char"
pointer_declarator
* "*"
function_declarator
identifier "CGroup_filterName"
parameter_list
( "("
parameter_declaration
type_qualifier
const "const"
primitive_type "char"
pointer_declarator
* "*"
identifier "cgroup"
) ")"
; ";"
#endif "#endif"
comment "/* HEADER_CGroupUtils */"

After

translation_unit
preproc_ifdef
#ifndef "#ifndef"
identifier "HEADER_CGroupUtils"
preproc_def
#define "#define"
identifier "HEADER_CGroupUtils"
comment "/*\nhtop - CGroupUtils.h\n(C) 2021 htop dev team\nReleased unde"...
preproc_include
#include "#include"
system_lib_string "<stdbool.h>"
preproc_include
#include "#include"
system_lib_string "<stddef.h>"
declaration
primitive_type "char"
pointer_declarator
* "*"
function_declarator
identifier "CGroup_filterName"
parameter_list
( "("
parameter_declaration
type_qualifier
const "const"
primitive_type "char"
pointer_declarator
* "*"
identifier "cgroup"
) ")"
; ";"
declaration
primitive_type "char"
pointer_declarator
* "*"
function_declarator
identifier "CGroup_filterContainer"
parameter_list
( "("
parameter_declaration
type_qualifier
const "const"
primitive_type "char"
pointer_declarator
* "*"
identifier "cgroup"
) ")"
; ";"
#endif "#endif"
comment "/* HEADER_CGroupUtils */"