Skip to content

Commit 7c6f388

Browse files
Add missing return itype to gethostbyaddr: oops.
1 parent 49bb8c5 commit 7c6f388

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/netdb_checked.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#pragma CHECKED_SCOPE on
2727

2828
extern struct hostent *gethostbyname(const char *name : itype(_Nt_array_ptr<const char>)) : itype(_Ptr<struct hostent>);
29-
extern struct hostent *gethostbyaddr(const void *addr : byte_count(len), socklen_t len, int type);
29+
extern struct hostent *gethostbyaddr(const void *addr : byte_count(len), socklen_t len, int type) : itype(_Ptr<struct hostent>);
3030

3131
int getaddrinfo(const char *restrict node : itype(_Nt_array_ptr<const char> restrict),
3232
const char *restrict service : itype(_Nt_array_ptr<const char> restrict),

0 commit comments

Comments
 (0)