X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=Ada95%2Fsamples%2Fncurses2-util.adb;h=e0f3d35bbca43659597f9694faca557fee8252e3;hp=0352fa12539900c39d232245417a1727a0da6860;hb=6208c89f98f1cf9fe0980bd8e791846ce007a13d;hpb=027ae42953e3186daed8f3882da73de48291b606 diff --git a/Ada95/samples/ncurses2-util.adb b/Ada95/samples/ncurses2-util.adb index 0352fa12..e0f3d35b 100644 --- a/Ada95/samples/ncurses2-util.adb +++ b/Ada95/samples/ncurses2-util.adb @@ -7,7 +7,7 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 2000-2004,2006 Free Software Foundation, Inc. -- +-- Copyright (c) 2000-2008,2014 Free Software Foundation, Inc. -- -- -- -- Permission is hereby granted, free of charge, to any person obtaining a -- -- copy of this software and associated documentation files (the -- @@ -35,22 +35,14 @@ ------------------------------------------------------------------------------ -- Author: Eugene V. Melaragno 2000 -- Version Control --- $Revision: 1.6 $ --- $Date: 2006/06/25 14:24:40 $ +-- $Revision: 1.9 $ +-- $Date: 2014/05/24 21:32:18 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ -with Terminal_Interface.Curses; - -with Ada.Text_IO; - -pragma Warnings (Off); -with Terminal_Interface.Curses.Aux; -pragma Warnings (On); +with Ada.Text_IO; use Ada.Text_IO; with Terminal_Interface.Curses.Trace; use Terminal_Interface.Curses.Trace; -with Ada.Text_IO; use Ada.Text_IO; - with Interfaces.C; with Interfaces.C.Strings; @@ -119,7 +111,6 @@ package body ncurses2.util is procedure Cannot (s : String) is use Interfaces.C; use Interfaces.C.Strings; - use Terminal_Interface.Curses.Aux; function getenv (x : char_array) return chars_ptr; pragma Import (C, getenv, "getenv"); tmp1 : char_array (0 .. 10);