about summary refs log tree commit diff
path: root/pwd/getpw.c
diff options
context:
space:
mode:
Diffstat (limited to 'pwd/getpw.c')
-rw-r--r--pwd/getpw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pwd/getpw.c b/pwd/getpw.c
index 8bfb02eb8b..e291769237 100644
--- a/pwd/getpw.c
+++ b/pwd/getpw.c
@@ -58,3 +58,5 @@ __getpw (uid, buf)
   return 0;
 }
 weak_alias (__getpw, getpw)
+
+link_warning (getpw, "the `getpw' function is dangerous and should not be used.")