Skip to content

Commit a7046f9

Browse files
committed
Clean up compilation warnings.
* src/tcl-ada.adb: remove pragma Ada_2005. * src/tcl-ada.ads: likewise. * src/tcl-tk.ads: likewise. * src/tcl.adb: likewise. * src/tcl.ads: likewise. * demos/twashell.adb: remove unnecessary 'use type'.
1 parent d73de1e commit a7046f9

6 files changed

Lines changed: 0 additions & 11 deletions

File tree

demos/twashell.adb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ with TWashApp;
2020
procedure TWASHell is -- Tcl Windowing Ada SHell
2121

2222
package C renames Interfaces.C;
23-
use type C.int;
2423

2524
-- Argc and Argv include the command name
2625
Argc : C.int;

src/tcl-ada.adb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@
3131
--
3232
--------------------------------------------------------------------
3333

34-
pragma Ada_2005;
35-
3634
with Ada.Exceptions;
3735
with Ada.Unchecked_Conversion;
3836
with CHelper;

src/tcl-ada.ads

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@
4545
--
4646
--------------------------------------------------------------------
4747

48-
pragma Ada_2005;
49-
5048
with CArgv;
5149

5250
package Tcl.Ada is

src/tcl-tk.ads

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@
3636
--
3737
--------------------------------------------------------------------
3838

39-
pragma Ada_2005;
40-
4139
with CHelper;
4240

4341
package Tcl.Tk is

src/tcl.adb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@
3131
--
3232
--------------------------------------------------------------------
3333

34-
pragma Ada_2005;
35-
3634
with Ada.Text_IO;
3735

3836
package body Tcl is

src/tcl.ads

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@
3939
--
4040
--------------------------------------------------------------------
4141

42-
pragma Ada_2005;
43-
4442
with CArgv;
4543
with Interfaces.C.Pointers;
4644
with Interfaces.C.Strings;

0 commit comments

Comments
 (0)