Skip to content

Commit

Permalink
Fix double headers and double empty lines again
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabien-Chouteau committed Nov 8, 2016
1 parent efd1008 commit 2c34099
Show file tree
Hide file tree
Showing 63 changed files with 1 addition and 125 deletions.
1 change: 0 additions & 1 deletion ARM/STM32/drivers/i2c_stm32f7/stm32-i2c.adb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
-- --
------------------------------------------------------------------------------


with Ada.Real_Time; use Ada.Real_Time;

with STM32_SVD.I2C; use STM32_SVD.I2C;
Expand Down
1 change: 0 additions & 1 deletion ARM/STM32/drivers/i2c_stm32f7/stm32-i2c.ads
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
-- --
------------------------------------------------------------------------------


-- This file provides definitions for the STM32F7 (ARM Cortex M7F
-- from ST Microelectronics) Inter-Integrated Circuit (I2C) facility.

Expand Down
32 changes: 1 addition & 31 deletions ARM/cortex_m/src/cache/cortex_m-cache.adb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015-2016, AdaCore --
Expand Down Expand Up @@ -29,37 +30,6 @@
-- --
------------------------------------------------------------------------------

------------------------------------------------------------------------------
-- --
-- Copyright (C) 2016, AdaCore --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions are --
-- met: --
-- 1. Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- 2. Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in --
-- the documentation and/or other materials provided with the --
-- distribution. --
-- 3. Neither the name of AdaCore nor the names of its contributors may --
-- be used to endorse or promote products derived from this software --
-- without specific prior written permission.
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT --
-- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, --
-- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY --
-- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT --
-- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE --
-- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
------------------------------------------------------------------------------

with System.Machine_Code; use System.Machine_Code;
with Ada.Unchecked_Conversion;

Expand Down
31 changes: 0 additions & 31 deletions ARM/cortex_m/src/cortex_m-cache.ads
Original file line number Diff line number Diff line change
Expand Up @@ -29,37 +29,6 @@
-- --
------------------------------------------------------------------------------

------------------------------------------------------------------------------
-- --
-- Copyright (C) 2016, AdaCore --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions are --
-- met: --
-- 1. Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- 2. Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in --
-- the documentation and/or other materials provided with the --
-- distribution. --
-- 3. Neither the name of AdaCore nor the names of its contributors may --
-- be used to endorse or promote products derived from this software --
-- without specific prior written permission.
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT --
-- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, --
-- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY --
-- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT --
-- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE --
-- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
------------------------------------------------------------------------------

-- This file provides subprograms necessary to handle the cache on the
-- Cortex-M7 family of CPU.

Expand Down
1 change: 0 additions & 1 deletion ARM/cortex_m/src/semihosting-filesystem.adb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
-- --
------------------------------------------------------------------------------


package body Semihosting.Filesystem is

-----------------
Expand Down
1 change: 0 additions & 1 deletion boards/stm32f469_discovery/src/sdcard.adb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
-- --
------------------------------------------------------------------------------


with Ada.Real_Time; use Ada.Real_Time;

with STM32.Device; use STM32.Device;
Expand Down
1 change: 0 additions & 1 deletion boards/stm32f469_discovery/src/sdcard.ads
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
-- --
------------------------------------------------------------------------------


with Interfaces; use Interfaces;
with Ada.Interrupts.Names;

Expand Down
1 change: 0 additions & 1 deletion components/src/motion/mpu9250/mpu9250.ads
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
-- --
------------------------------------------------------------------------------


-- MPU9250 I2C device class package

with Interfaces; use Interfaces;
Expand Down
1 change: 0 additions & 1 deletion examples/2048/src/demo_2048.adb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
-- --
------------------------------------------------------------------------------


-- The file declares the main procedure for the demonstration.

with Last_Chance_Handler; pragma Unreferenced (Last_Chance_Handler);
Expand Down
1 change: 0 additions & 1 deletion examples/2048/src/dsi/framebuffer_helper.adb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
-- --
------------------------------------------------------------------------------


with STM32.Board; use STM32.Board;

package body Framebuffer_Helper is
Expand Down
1 change: 0 additions & 1 deletion examples/2048/src/framebuffer_helper.ads
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
-- --
------------------------------------------------------------------------------


package Framebuffer_Helper is

procedure Update_All_Layers;
Expand Down
1 change: 0 additions & 1 deletion examples/2048/src/game.adb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
-- --
------------------------------------------------------------------------------


with Interfaces; use Interfaces;
with Interfaces.Bit_Types; use Interfaces.Bit_Types;

Expand Down
1 change: 0 additions & 1 deletion examples/2048/src/game.ads
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
-- --
------------------------------------------------------------------------------


with HAL.Bitmap; use HAL.Bitmap;

with Bitmapped_Drawing; use Bitmapped_Drawing;
Expand Down
1 change: 0 additions & 1 deletion examples/2048/src/grid.adb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
-- --
------------------------------------------------------------------------------


package body Grid is

function Can_Move_Row (Row : in Row_T) return Boolean;
Expand Down
1 change: 0 additions & 1 deletion examples/2048/src/grid.ads
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
-- --
------------------------------------------------------------------------------


package Grid is
type Size is new Integer range 0 .. 3;

Expand Down
1 change: 0 additions & 1 deletion examples/2048/src/ltdc/framebuffer_helper.adb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
-- --
------------------------------------------------------------------------------


with STM32.Board; use STM32.Board;

package body Framebuffer_Helper is
Expand Down
2 changes: 0 additions & 2 deletions examples/2048/src/malloc.adb
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@
-- --
------------------------------------------------------------------------------



with System.Storage_Elements; use System.Storage_Elements;
with Ada.Unchecked_Conversion;

Expand Down
1 change: 0 additions & 1 deletion examples/2048/src/malloc.ads
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
-- --
------------------------------------------------------------------------------


-- A simple implementation of storage allocation (malloc etc) for ZFP use

pragma Restrictions (No_Elaboration_Code);
Expand Down
1 change: 0 additions & 1 deletion examples/2048/src/solver.adb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
-- --
------------------------------------------------------------------------------


-- This code is based on the solver by nneonneo in github:
-- https://github.com/nneonneo/2048-ai
-- No specific license is described there, so I assumed some MIT-like license
Expand Down
1 change: 0 additions & 1 deletion examples/2048/src/solver.ads
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
-- --
------------------------------------------------------------------------------


pragma Restrictions (No_Streams);

package Solver is
Expand Down
1 change: 0 additions & 1 deletion examples/2048/src/status.adb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
-- --
------------------------------------------------------------------------------


with Game;

with STM32.Board; use STM32.Board;
Expand Down
1 change: 0 additions & 1 deletion examples/2048/src/status.ads
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
-- --
------------------------------------------------------------------------------


with Bitmapped_Drawing; use Bitmapped_Drawing;
with HAL.Bitmap; use HAL.Bitmap;

Expand Down
1 change: 0 additions & 1 deletion examples/2048/src/tp.adb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
-- --
------------------------------------------------------------------------------


with Ada.Real_Time; use Ada.Real_Time;
with Ada.Text_IO; use Ada.Text_IO;

Expand Down
1 change: 0 additions & 1 deletion examples/2048/src/tp.ads
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
-- --
------------------------------------------------------------------------------


with Bitmapped_Drawing; use Bitmapped_Drawing;

package TP is
Expand Down
1 change: 0 additions & 1 deletion examples/OpenMV2/src/last_chance_handler.ads
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
-- --
------------------------------------------------------------------------------


-- This version is for use with the ravenscar-sfp runtime.

with System;
Expand Down
1 change: 0 additions & 1 deletion examples/balls/src/balls_demo.adb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
-- --
------------------------------------------------------------------------------


-- The file declares the main procedure for the demonstration. The LEDs
-- will blink "in a circle" on the board. The blue user button generates
-- an interrupt that changes the direction.
Expand Down
1 change: 0 additions & 1 deletion examples/common/gui/bitmapped_drawing.adb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
-- --
------------------------------------------------------------------------------


with HAL; use HAL;

package body Bitmapped_Drawing is
Expand Down
1 change: 0 additions & 1 deletion examples/common/gui/bitmapped_drawing.ads
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
-- --
------------------------------------------------------------------------------


-- This package provides routines for drawing shapes, characters, and strings
-- on a bit-mapped device or graphical buffer.

Expand Down
1 change: 0 additions & 1 deletion examples/common/gui/hershey_fonts.adb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
-- --
------------------------------------------------------------------------------


package body Hershey_Fonts is

function Get_Glyph (C : Character) return Glyph_Index;
Expand Down
1 change: 0 additions & 1 deletion examples/common/gui/hershey_fonts.ads
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
-- --
------------------------------------------------------------------------------


-- This package handles the Hershey font format.

with Interfaces; use Interfaces;
Expand Down
1 change: 0 additions & 1 deletion examples/common/gui/lcd_std_out.adb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
-- --
------------------------------------------------------------------------------


with STM32.Board; use STM32.Board;
with Bitmapped_Drawing;

Expand Down
1 change: 0 additions & 1 deletion examples/common/gui/lcd_std_out.ads
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
-- --
------------------------------------------------------------------------------


-- This package provides a set of convenience routines for putting characters
-- and strings out to the LCD.

Expand Down
1 change: 0 additions & 1 deletion examples/common/lch_sfp/last_chance_handler.ads
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
-- --
------------------------------------------------------------------------------


-- This version is for use with the ravenscar-sfp runtime.

with System;
Expand Down
1 change: 0 additions & 1 deletion examples/common/lch_sfp/led/last_chance_handler.adb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
-- --
------------------------------------------------------------------------------


-- This version of the LCH only toggles the Red LED.

-- Note this version is for use with the ravenscar-sfp runtime.
Expand Down
1 change: 0 additions & 1 deletion examples/conway/src/conway_demo.adb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
-- --
------------------------------------------------------------------------------


-- The file declares the main procedure for the demonstration.

with Conway_Driver; pragma Unreferenced (Conway_Driver);
Expand Down
1 change: 0 additions & 1 deletion examples/conway/src/conway_driver.adb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
-- --
------------------------------------------------------------------------------


with Ada.Unchecked_Conversion;
with Interfaces; use Interfaces;
with HAL; use HAL;
Expand Down
1 change: 0 additions & 1 deletion examples/conway/src/conway_driver.ads
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
-- --
------------------------------------------------------------------------------


with System;

package Conway_Driver is
Expand Down
1 change: 0 additions & 1 deletion examples/draw/src/draw.adb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
-- --
------------------------------------------------------------------------------


-- A very simple draw application.
-- Use your finger to draw pixels.

Expand Down
1 change: 0 additions & 1 deletion examples/ethdemo/src/ethdemo.adb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
-- --
------------------------------------------------------------------------------


with Ada.Real_Time;
with Interfaces; use Interfaces;
with STM32.Eth;
Expand Down
1 change: 0 additions & 1 deletion examples/sdcard/adafatfs/fat_filesystem-directories.adb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
-- --
------------------------------------------------------------------------------


with Ada.Unchecked_Conversion;

package body FAT_Filesystem.Directories is
Expand Down
1 change: 0 additions & 1 deletion examples/sdcard/adafatfs/fat_filesystem-directories.ads
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
-- --
------------------------------------------------------------------------------


package FAT_Filesystem.Directories is

type Directory_Entry is private;
Expand Down
Loading

0 comments on commit 2c34099

Please sign in to comment.