summaryrefslogtreecommitdiffstats
path: root/contrib/cvs/lib/getwd.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-05-15 22:46:24 +0000
committerpeter <peter@FreeBSD.org>1997-05-15 22:46:24 +0000
commit4f40fe8334ad5f056e1d9105f23fe7ac859c39ba (patch)
tree3b2f0092fa216d9f61059ba94b7f10b5bacf9496 /contrib/cvs/lib/getwd.c
parent8982e501c77217c860f79bba431f46a62b607a21 (diff)
downloadFreeBSD-src-4f40fe8334ad5f056e1d9105f23fe7ac859c39ba.zip
FreeBSD-src-4f40fe8334ad5f056e1d9105f23fe7ac859c39ba.tar.gz
Import of cvs-1.9.9-970515 onto vendor branch.
Obtained from: cyclic.com
Diffstat (limited to 'contrib/cvs/lib/getwd.c')
-rw-r--r--contrib/cvs/lib/getwd.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/contrib/cvs/lib/getwd.c b/contrib/cvs/lib/getwd.c
index 573a788..5707dcb 100644
--- a/contrib/cvs/lib/getwd.c
+++ b/contrib/cvs/lib/getwd.c
@@ -9,11 +9,7 @@
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+ GNU General Public License for more details. */
/* Some systems which include both getwd() and getcwd() have an implementation
of getwd() which is much faster than getcwd(). As a result, we use the
@@ -31,5 +27,7 @@ char *
getwd (pathname)
char *pathname;
{
+ char *getcwd();
+
return (getcwd(pathname, PATH_MAX));
}
OpenPOWER on IntegriCloud