diff options
| author | Paul Eggert | 2011-02-21 10:37:35 -0800 |
|---|---|---|
| committer | Paul Eggert | 2011-02-21 10:37:35 -0800 |
| commit | 0d7fdc0ef49f92c2ae20e13b172fc5ccc81f36f7 (patch) | |
| tree | d3ee8e8f25375fac9ab75dcd72914cd28b977c8e /lib-src/movemail.c | |
| parent | 1afca8cc21992331ee81622702d5449473cafe94 (diff) | |
| download | emacs-0d7fdc0ef49f92c2ae20e13b172fc5ccc81f36f7.tar.gz emacs-0d7fdc0ef49f92c2ae20e13b172fc5ccc81f36f7.zip | |
* movemail.c: (DIRECTORY_SEP, IS_DIRECTORY_SEP, DONE, IS_FROM_LINE):
Remove unused macros.
* pop.c (index): Remove unused macro.
(KPOP_PORT): Define only if KERBEROS is defined.
Diffstat (limited to 'lib-src/movemail.c')
| -rw-r--r-- | lib-src/movemail.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/lib-src/movemail.c b/lib-src/movemail.c index bb93d84d89a..a5084f27f22 100644 --- a/lib-src/movemail.c +++ b/lib-src/movemail.c | |||
| @@ -80,13 +80,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 80 | #undef access | 80 | #undef access |
| 81 | #endif /* MSDOS */ | 81 | #endif /* MSDOS */ |
| 82 | 82 | ||
| 83 | #ifndef DIRECTORY_SEP | ||
| 84 | #define DIRECTORY_SEP '/' | ||
| 85 | #endif | ||
| 86 | #ifndef IS_DIRECTORY_SEP | ||
| 87 | #define IS_DIRECTORY_SEP(_c_) ((_c_) == DIRECTORY_SEP) | ||
| 88 | #endif | ||
| 89 | |||
| 90 | #ifdef WINDOWSNT | 83 | #ifdef WINDOWSNT |
| 91 | #include "ntlib.h" | 84 | #include "ntlib.h" |
| 92 | #undef access | 85 | #undef access |
| @@ -670,7 +663,6 @@ xmalloc (unsigned int size) | |||
| 670 | 663 | ||
| 671 | #define NOTOK (-1) | 664 | #define NOTOK (-1) |
| 672 | #define OK 0 | 665 | #define OK 0 |
| 673 | #define DONE 1 | ||
| 674 | 666 | ||
| 675 | static char Errmsg[200]; /* POP errors, at least, can exceed | 667 | static char Errmsg[200]; /* POP errors, at least, can exceed |
| 676 | the original length of 80. */ | 668 | the original length of 80. */ |
| @@ -855,13 +847,6 @@ pop_retr (popserver server, int msgno, FILE *arg) | |||
| 855 | return (OK); | 847 | return (OK); |
| 856 | } | 848 | } |
| 857 | 849 | ||
| 858 | /* Do this as a macro instead of using strcmp to save on execution time. */ | ||
| 859 | #define IS_FROM_LINE(a) ((a[0] == 'F') \ | ||
| 860 | && (a[1] == 'r') \ | ||
| 861 | && (a[2] == 'o') \ | ||
| 862 | && (a[3] == 'm') \ | ||
| 863 | && (a[4] == ' ')) | ||
| 864 | |||
| 865 | static int | 850 | static int |
| 866 | mbx_write (char *line, int len, FILE *mbf) | 851 | mbx_write (char *line, int len, FILE *mbf) |
| 867 | { | 852 | { |