summaryrefslogtreecommitdiff
path: root/gcc/ada/g-socthi.ads
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/g-socthi.ads')
-rw-r--r--gcc/ada/g-socthi.ads5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/ada/g-socthi.ads b/gcc/ada/g-socthi.ads
index f8b7aca88c5..7a818d88a37 100644
--- a/gcc/ada/g-socthi.ads
+++ b/gcc/ada/g-socthi.ads
@@ -360,8 +360,9 @@ package GNAT.Sockets.Thin is
function Is_Socket_In_Set
(Set : Fd_Set_Access;
- Socket : C.int) return Boolean;
- -- Check whether Socket is in the socket set
+ Socket : C.int) return C.int;
+ -- Check whether Socket is in the socket set, return a non-zero
+ -- value if it is, zero if it is not.
procedure Last_Socket_In_Set
(Set : Fd_Set_Access;