summaryrefslogtreecommitdiff
path: root/src/buffer.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2005-09-10 14:05:17 +0000
committerEli Zaretskii <eliz@gnu.org>2005-09-10 14:05:17 +0000
commita17b5ed1a9ef01d008c69ed0fb4712afd802badb (patch)
treeebcdaaea08480d77e357e8a60354931d8df5fabb /src/buffer.c
parent738055e0d54a374e735f18b1d17d589c67efb2f3 (diff)
downloademacs-a17b5ed1a9ef01d008c69ed0fb4712afd802badb.tar.gz
(init_buffer): Fix error message for failed call to get_current_dir_name.
(get_current_dir_name): Remove prototype.
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/buffer.c b/src/buffer.c
index b0227031ac7..448ef87413a 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -50,8 +50,6 @@ extern int errno;
#include "keymap.h"
#include "frame.h"
-extern char * get_current_dir_name ();
-
struct buffer *current_buffer; /* the current buffer */
/* First buffer in chain of all buffers (in reverse order of creation).
@@ -5136,9 +5134,9 @@ init_buffer ()
Fset_buffer_multibyte (Qnil);
pwd = get_current_dir_name ();
-
+
if(!pwd)
- fatal ("`get_cwd' failed: %s\n", strerror (errno));
+ fatal ("`get_current_dir_name' failed: %s\n", strerror (errno));
#ifndef VMS
/* Maybe this should really use some standard subroutine