HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
a1b4b08
)
* sysdep.c (rename): Make arguments const. autoconf #defines
author
Jim Blandy
<jimb@redhat.com>
Sat, 19 Jun 1993 21:07:02 +0000
(21:07 +0000)
committer
Jim Blandy
<jimb@redhat.com>
Sat, 19 Jun 1993 21:07:02 +0000
(21:07 +0000)
const away on systems which don't have it; any system with
prototypes will declare the arguments const (the ones to which I
have access do); and systems without prototypes won't notice.
src/sysdep.c
patch
|
blob
|
blame
|
history
diff --git
a/src/sysdep.c
b/src/sysdep.c
index
8e7858f
..
bed1f70
100644
(file)
--- a/
src/sysdep.c
+++ b/
src/sysdep.c
@@
-2694,8
+2694,8
@@
getwd (pathname)
#ifndef HAVE_RENAME
rename (from, to)
- char *from;
- char *to;
+ c
onst c
har *from;
+ c
onst c
har *to;
{
if (access (from, 0) == 0)
{