From a97a362264f0ec79dc3851870aaceb590951e92f Mon Sep 17 00:00:00 2001
From: Marko Lindqvist <cazfi74@gmail.com>
Date: Sun, 26 Jul 2026 11:02:27 +0300
Subject: [PATCH 29/29] trailing_spaces.sh: Check .c files

See RM #2088

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
---
 tests/trailing_spaces.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/trailing_spaces.sh b/tests/trailing_spaces.sh
index ea17bc4739..b59afff171 100755
--- a/tests/trailing_spaces.sh
+++ b/tests/trailing_spaces.sh
@@ -1,7 +1,7 @@
 #!/bin/sh
 
 #/***********************************************************************
-# Freeciv - Copyright (C) 2022-2025
+# Freeciv - Copyright (C) 2022-2026
 #   This program is free software; you can redistribute it and/or modify
 #   it under the terms of the GNU General Public License as published by
 #   the Free Software Foundation; either version 2, or (at your option)
@@ -24,6 +24,7 @@ files=$(find $1 -name "*.ruleset" \
              -o -name "*.txt" \
              -o -name "README*" \
              -o -name "*.xml" \
+             -o -name "*.c" \
              -o -name "*.cpp" \
              -o -name "*.h" \
              -o -name "*.pkg" \
-- 
2.53.0

