# Re: \[PATCH 02/10\] vt: Implement helpers for struct vc\_font in source file

- From: Greg KH \<gregkh@linuxfoundation.org\>
- Date: 2026-03-30 15:35:41 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2026/03/3489124
- Thread: https://ratatoskr.run/linux-fbdev/2026/03/3485187/t.md

```text
On Fri, Mar 27, 2026 at 01:49:35PM +0100, Thomas Zimmermann wrote:
> Move the helpers vc_font_pitch() and vc_font_size() from the VT
> header file into source file. They are not called very often, so
> there's no benefit in keeping them in the headers. Also avoids
> including <liux/math.h> from the header.
> 
> Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
> ---
>  drivers/tty/vt/vt.c            | 35 ++++++++++++++++++++++++++++++++++
>  include/linux/console_struct.h | 30 ++---------------------------
>  2 files changed, 37 insertions(+), 28 deletions(-)

Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
```
