diff options
| author | Stefan Monnier | 2011-03-31 00:24:03 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2011-03-31 00:24:03 -0400 |
| commit | 40d83b412f584cc02e68d4eac8fd5e6eb769e2fe (patch) | |
| tree | b56f27a7e6d75a8c1fd27b00179a27b5efea0a32 /nt | |
| parent | f488fb6528738131ef41859e1f04125f2e50efce (diff) | |
| parent | 44f230aa043ebb222aa0876b44d70484d5dd38db (diff) | |
| download | emacs-40d83b412f584cc02e68d4eac8fd5e6eb769e2fe.tar.gz emacs-40d83b412f584cc02e68d4eac8fd5e6eb769e2fe.zip | |
Merge from trunk
Diffstat (limited to 'nt')
| -rw-r--r-- | nt/ChangeLog | 15 | ||||
| -rw-r--r-- | nt/addpm.c | 4 | ||||
| -rw-r--r-- | nt/cmdproxy.c | 2 | ||||
| -rw-r--r-- | nt/config.nt | 9 | ||||
| -rw-r--r-- | nt/preprep.c | 1 |
5 files changed, 16 insertions, 15 deletions
diff --git a/nt/ChangeLog b/nt/ChangeLog index e55fc52a487..a0603fd7c26 100644 --- a/nt/ChangeLog +++ b/nt/ChangeLog | |||
| @@ -1,3 +1,18 @@ | |||
| 1 | 2011-03-27 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * config.nt: Remove RETSIGTYPE, SIGTYPE (identical to void). | ||
| 4 | |||
| 5 | 2011-03-25 Juanma Barranquero <lekktu@gmail.com> | ||
| 6 | |||
| 7 | * addpm.c (main): Remove unused variable `retval'. | ||
| 8 | |||
| 9 | * preprep.c (main): Remove unused variable `ptr'. | ||
| 10 | |||
| 11 | 2011-03-23 Juanma Barranquero <lekktu@gmail.com> | ||
| 12 | |||
| 13 | * cmdproxy.c: Include <ctype.h>. | ||
| 14 | (make_absolute): Remove unused variable `i'. | ||
| 15 | |||
| 1 | 2011-02-27 Eli Zaretskii <eliz@gnu.org> | 16 | 2011-02-27 Eli Zaretskii <eliz@gnu.org> |
| 2 | 17 | ||
| 3 | * inc/unistd.h (readlink, symlink): Declare prototypes. | 18 | * inc/unistd.h (readlink, symlink): Declare prototypes. |
diff --git a/nt/addpm.c b/nt/addpm.c index c2cd1a07abc..d7919d36f80 100644 --- a/nt/addpm.c +++ b/nt/addpm.c | |||
| @@ -274,8 +274,6 @@ main (int argc, char *argv[]) | |||
| 274 | { | 274 | { |
| 275 | if (strlen (start_folder) < (MAX_PATH - 20)) | 275 | if (strlen (start_folder) < (MAX_PATH - 20)) |
| 276 | { | 276 | { |
| 277 | BOOL retval; | ||
| 278 | |||
| 279 | strcat (start_folder, "\\Gnu Emacs"); | 277 | strcat (start_folder, "\\Gnu Emacs"); |
| 280 | if (CreateDirectory (start_folder, NULL) | 278 | if (CreateDirectory (start_folder, NULL) |
| 281 | || GetLastError () == ERROR_ALREADY_EXISTS) | 279 | || GetLastError () == ERROR_ALREADY_EXISTS) |
| @@ -307,8 +305,6 @@ main (int argc, char *argv[]) | |||
| 307 | /* Ensure there is enough room for "...\GNU Emacs\Emacs.lnk". */ | 305 | /* Ensure there is enough room for "...\GNU Emacs\Emacs.lnk". */ |
| 308 | if (strlen (start_folder) < (MAX_PATH - 20)) | 306 | if (strlen (start_folder) < (MAX_PATH - 20)) |
| 309 | { | 307 | { |
| 310 | BOOL retval; | ||
| 311 | |||
| 312 | strcat (start_folder, "\\Gnu Emacs"); | 308 | strcat (start_folder, "\\Gnu Emacs"); |
| 313 | if (CreateDirectory (start_folder, NULL) | 309 | if (CreateDirectory (start_folder, NULL) |
| 314 | || GetLastError () == ERROR_ALREADY_EXISTS) | 310 | || GetLastError () == ERROR_ALREADY_EXISTS) |
diff --git a/nt/cmdproxy.c b/nt/cmdproxy.c index 9a98e1e5034..b9572570c5f 100644 --- a/nt/cmdproxy.c +++ b/nt/cmdproxy.c | |||
| @@ -33,6 +33,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 33 | #include <malloc.h> /* alloca */ | 33 | #include <malloc.h> /* alloca */ |
| 34 | #include <stdlib.h> /* getenv */ | 34 | #include <stdlib.h> /* getenv */ |
| 35 | #include <string.h> /* strlen */ | 35 | #include <string.h> /* strlen */ |
| 36 | #include <ctype.h> /* isspace, isalpha */ | ||
| 36 | 37 | ||
| 37 | /* We don't want to include stdio.h because we are already duplicating | 38 | /* We don't want to include stdio.h because we are already duplicating |
| 38 | lots of it here */ | 39 | lots of it here */ |
| @@ -251,7 +252,6 @@ make_absolute (const char *prog) | |||
| 251 | char curdir[MAX_PATH]; | 252 | char curdir[MAX_PATH]; |
| 252 | char *p, *path; | 253 | char *p, *path; |
| 253 | const char *fname; | 254 | const char *fname; |
| 254 | int i; | ||
| 255 | 255 | ||
| 256 | /* At least partial absolute path specified; search there. */ | 256 | /* At least partial absolute path specified; search there. */ |
| 257 | if ((isalpha (prog[0]) && prog[1] == ':') || | 257 | if ((isalpha (prog[0]) && prog[1] == ':') || |
diff --git a/nt/config.nt b/nt/config.nt index 26fbc1c67c5..1d9a5faaf2c 100644 --- a/nt/config.nt +++ b/nt/config.nt | |||
| @@ -393,15 +393,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 393 | #undef STACK_DIRECTION | 393 | #undef STACK_DIRECTION |
| 394 | #endif | 394 | #endif |
| 395 | 395 | ||
| 396 | /* Define the return type of signal handlers if the s-xxx file | ||
| 397 | did not already do so. */ | ||
| 398 | #define RETSIGTYPE void | ||
| 399 | |||
| 400 | /* SIGTYPE is the macro we actually use. */ | ||
| 401 | #ifndef SIGTYPE | ||
| 402 | #define SIGTYPE RETSIGTYPE | ||
| 403 | #endif | ||
| 404 | |||
| 405 | #ifdef emacs /* Don't do this for lib-src. */ | 396 | #ifdef emacs /* Don't do this for lib-src. */ |
| 406 | /* Tell regex.c to use a type compatible with Emacs. */ | 397 | /* Tell regex.c to use a type compatible with Emacs. */ |
| 407 | #define RE_TRANSLATE_TYPE Lisp_Object | 398 | #define RE_TRANSLATE_TYPE Lisp_Object |
diff --git a/nt/preprep.c b/nt/preprep.c index 513ad14e966..6b764afdeab 100644 --- a/nt/preprep.c +++ b/nt/preprep.c | |||
| @@ -765,7 +765,6 @@ main (int argc, char **argv) | |||
| 765 | PIMAGE_NT_HEADERS nt_header; | 765 | PIMAGE_NT_HEADERS nt_header; |
| 766 | file_data in_file, out_file; | 766 | file_data in_file, out_file; |
| 767 | char out_filename[MAX_PATH], in_filename[MAX_PATH]; | 767 | char out_filename[MAX_PATH], in_filename[MAX_PATH]; |
| 768 | const char *ptr; | ||
| 769 | 768 | ||
| 770 | strcpy (in_filename, argv[1]); | 769 | strcpy (in_filename, argv[1]); |
| 771 | strcpy (out_filename, argv[2]); | 770 | strcpy (out_filename, argv[2]); |