(get_current_dir_name): Remove prototype.
2005-09-10 Eli Zaretskii <eliz@gnu.org>
+ * buffer.c (init_buffer): Fix error message for failed call to
+ get_current_dir_name.
+ (get_current_dir_name): Remove prototype.
+
+ * xsmfns.c: (get_current_dir_name): Remove prototype.
+
+ * lisp.h: (get_current_dir_name) [!HAVE_GET_CURRENT_DIR_NAME]: Add
+ prototype.
+
* sysdep.c [WINDOWSNT]: Add prototype for getwd.
* config.in: Regenerated.
#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).
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