Print linker warning if this function is called in a static linked binary.
[kopensolaris-gnu/glibc.git] / sysdeps / posix / getaddrinfo.c
index 3cdb5df..3b86b25 100644 (file)
@@ -1024,6 +1024,8 @@ getaddrinfo (const char *name, const char *service,
 }
 libc_hidden_def (getaddrinfo)
 
+static_link_warning (getaddrinfo)
+
 void
 freeaddrinfo (struct addrinfo *ai)
 {