# HG changeset patch # User Eli Zaretskii # Date 1126361058 0 # Node ID c832bf03b2b2928b34fe4876ad7e3e7f6017fa60 # Parent 8763a59d5982d826e654840be6333e4f6d8ce2b2 (init_buffer): Fix error message for failed call to get_current_dir_name. (get_current_dir_name): Remove prototype. diff -r 8763a59d5982 -r c832bf03b2b2 src/buffer.c --- a/src/buffer.c Sat Sep 10 14:03:36 2005 +0000 +++ b/src/buffer.c Sat Sep 10 14:04:18 2005 +0000 @@ -50,8 +50,6 @@ #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 @@ 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