diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | lib/makefile.w32-in | 5 | ||||
-rw-r--r-- | nt/ChangeLog | 4 | ||||
-rw-r--r-- | nt/inc/ms-w32.h | 3 |
4 files changed, 17 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 0da3969fa11..6a90eb178f5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-02-12 Eli Zaretskii <eliz@gnu.org> + + * lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/memrchr.$(O). + ($(BLD)/memrchr.$(O)): New dependency. + 2013-02-11 Paul Eggert <eggert@cs.ucla.edu> Tune by using memchr and memrchr. diff --git a/lib/makefile.w32-in b/lib/makefile.w32-in index d5128cc9a61..cd62fbcd13d 100644 --- a/lib/makefile.w32-in +++ b/lib/makefile.w32-in @@ -34,6 +34,7 @@ GNULIBOBJS = $(BLD)/c-ctype.$(O) \ $(BLD)/getopt.$(O) \ $(BLD)/getopt1.$(O) \ $(BLD)/gettime.$(O) \ + $(BLD)/memrchr.$(O) \ $(BLD)/strftime.$(O) \ $(BLD)/time_r.$(O) \ $(BLD)/timespec-add.$(O) \ @@ -201,6 +202,10 @@ $(BLD)/md5.$(O) : \ $(CONFIG_H) \ $(MD5_H) +$(BLD)/memrchr.$(O) : \ + $(GNU_LIB)/memrchr.c \ + $(CONFIG_H) + $(BLD)/sha1.$(O) : \ $(GNU_LIB)/sha1.c \ $(NT_INC)/stdalign.h \ diff --git a/nt/ChangeLog b/nt/ChangeLog index b2a481354bc..1d3f7b7f49f 100644 --- a/nt/ChangeLog +++ b/nt/ChangeLog @@ -1,3 +1,7 @@ +2013-02-12 Eli Zaretskii <eliz@gnu.org> + + * inc/ms-w32.h: Add prototype for memrchr. + 2013-02-01 Paul Eggert <eggert@cs.ucla.edu> Use fdopendir, fstatat and readlinkat, for efficiency (Bug#13539). diff --git a/nt/inc/ms-w32.h b/nt/inc/ms-w32.h index c10c4d9e02d..a74c74b4548 100644 --- a/nt/inc/ms-w32.h +++ b/nt/inc/ms-w32.h @@ -394,6 +394,9 @@ extern int sys_putenv (char *); extern int getloadavg (double *, int); extern int getpagesize (void); +extern void * memrchr (void const *, int, size_t); + + #if defined (__MINGW32__) /* Define to 1 if the system has the type `long long int'. */ |