aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/passwd.cc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2014-01-17 14:53:04 +0000
committerCorinna Vinschen <corinna@vinschen.de>2014-01-17 14:53:04 +0000
commit39f090d0608bd2908b7191a8bb1cca4bc63bcce4 (patch)
tree5517233f6c4a9b35a669f50402f5c19dac1ec37f /winsup/cygwin/passwd.cc
parentb1782642d2c1947552fc59ddb502d3915a6a2701 (diff)
downloadnewlib-39f090d0608bd2908b7191a8bb1cca4bc63bcce4.zip
newlib-39f090d0608bd2908b7191a8bb1cca4bc63bcce4.tar.gz
newlib-39f090d0608bd2908b7191a8bb1cca4bc63bcce4.tar.bz2
* passwd.cc (setpassent): Align to BSD definition.
Diffstat (limited to 'winsup/cygwin/passwd.cc')
-rw-r--r--winsup/cygwin/passwd.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/passwd.cc b/winsup/cygwin/passwd.cc
index 9cb9c2e..9ef417c 100644
--- a/winsup/cygwin/passwd.cc
+++ b/winsup/cygwin/passwd.cc
@@ -1,7 +1,7 @@
/* passwd.cc: getpwnam () and friends
Copyright 1996, 1997, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2008,
- 2009, 2010, 2011, 2012 Red Hat, Inc.
+ 2009, 2010, 2011, 2012, 2014 Red Hat, Inc.
This file is part of Cygwin.
@@ -274,7 +274,7 @@ endpwent (void)
}
extern "C" int
-setpassent ()
+setpassent (int)
{
return 0;
}