* [Ada] Fix "S p e c" and "B o d y" file headers
@ 2022-05-11 8:54 Pierre-Marie de Rodat
0 siblings, 0 replies; only message in thread
From: Pierre-Marie de Rodat @ 2022-05-11 8:54 UTC (permalink / raw)
To: gcc-patches; +Cc: Piotr Trojanek
[-- Attachment #1: Type: text/plain, Size: 331 bytes --]
Fix Spec/Body headers in .adb/.ads files, respectively; all violations
detected with grep and manually filtered because of .tmpl files.
Tested on x86_64-pc-linux-gnu, committed on trunk
gcc/ada/
* exp_atag.adb, lib-util.ads, libgnat/g-decstr.adb,
libgnat/g-exptty.adb, libgnat/g-socpol.adb,
libgnat/s-strhas.adb: Fix headers.
[-- Attachment #2: patch.diff --]
[-- Type: text/x-diff, Size: 4742 bytes --]
diff --git a/gcc/ada/exp_atag.adb b/gcc/ada/exp_atag.adb
--- a/gcc/ada/exp_atag.adb
+++ b/gcc/ada/exp_atag.adb
@@ -4,7 +4,7 @@
-- --
-- E X P _ A T A G --
-- --
--- S p e c --
+-- B o d y --
-- --
-- Copyright (C) 2006-2022, Free Software Foundation, Inc. --
-- --
diff --git a/gcc/ada/lib-util.ads b/gcc/ada/lib-util.ads
--- a/gcc/ada/lib-util.ads
+++ b/gcc/ada/lib-util.ads
@@ -4,7 +4,7 @@
-- --
-- L I B . U T I L --
-- --
--- B o d y --
+-- S p e c --
-- --
-- Copyright (C) 1992-2022, Free Software Foundation, Inc. --
-- --
diff --git a/gcc/ada/libgnat/g-decstr.adb b/gcc/ada/libgnat/g-decstr.adb
--- a/gcc/ada/libgnat/g-decstr.adb
+++ b/gcc/ada/libgnat/g-decstr.adb
@@ -4,7 +4,7 @@
-- --
-- G N A T . D E C O D E _ S T R I N G --
-- --
--- S p e c --
+-- B o d y --
-- --
-- Copyright (C) 2007-2022, AdaCore --
-- --
diff --git a/gcc/ada/libgnat/g-exptty.adb b/gcc/ada/libgnat/g-exptty.adb
--- a/gcc/ada/libgnat/g-exptty.adb
+++ b/gcc/ada/libgnat/g-exptty.adb
@@ -4,7 +4,7 @@
-- --
-- G N A T . E X P E C T . T T Y --
-- --
--- S p e c --
+-- B o d y --
-- --
-- Copyright (C) 2000-2022, AdaCore --
-- --
diff --git a/gcc/ada/libgnat/g-socpol.adb b/gcc/ada/libgnat/g-socpol.adb
--- a/gcc/ada/libgnat/g-socpol.adb
+++ b/gcc/ada/libgnat/g-socpol.adb
@@ -4,7 +4,7 @@
-- --
-- G N A T . S O C K E T S . P O L L --
-- --
--- S p e c --
+-- B o d y --
-- --
-- Copyright (C) 2020-2022, AdaCore --
-- --
diff --git a/gcc/ada/libgnat/s-strhas.adb b/gcc/ada/libgnat/s-strhas.adb
--- a/gcc/ada/libgnat/s-strhas.adb
+++ b/gcc/ada/libgnat/s-strhas.adb
@@ -4,7 +4,7 @@
-- --
-- S Y S T E M . S T R I N G _ H A S H --
-- --
--- S p e c --
+-- B o d y --
-- --
-- Copyright (C) 2009-2022, Free Software Foundation, Inc. --
-- --
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-05-11 8:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-11 8:54 [Ada] Fix "S p e c" and "B o d y" file headers Pierre-Marie de Rodat
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).