aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorJan D2010-07-02 14:55:51 +0200
committerJan D2010-07-02 14:55:51 +0200
commit9e892c8d8b52fbc4bc484fb8a185496f34bff805 (patch)
tree400ce560093ff37b9e6fc7619e99384d8a52b7a6 /lib-src
parentbaeb2564f75037efa9066dfeada25670f60e5079 (diff)
downloademacs-9e892c8d8b52fbc4bc484fb8a185496f34bff805.tar.gz
emacs-9e892c8d8b52fbc4bc484fb8a185496f34bff805.zip
Remove __P.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/etags.c5
-rw-r--r--lib-src/pop.c8
2 files changed, 0 insertions, 13 deletions
diff --git a/lib-src/etags.c b/lib-src/etags.c
index 53c878ec723..34d1a2ba341 100644
--- a/lib-src/etags.c
+++ b/lib-src/etags.c
@@ -100,15 +100,10 @@ char pot_etags_version[] = "@(#) pot revision number is 17.38.1.4";
100# ifndef PTR /* for XEmacs */ 100# ifndef PTR /* for XEmacs */
101# define PTR void * 101# define PTR void *
102# endif 102# endif
103# ifndef __P /* for XEmacs */
104# define __P(args) args
105# endif
106#else /* no config.h */ 103#else /* no config.h */
107# if defined(__STDC__) && (__STDC__ || defined(__SUNPRO_C)) 104# if defined(__STDC__) && (__STDC__ || defined(__SUNPRO_C))
108# define __P(args) args /* use prototypes */
109# define PTR void * /* for generic pointers */ 105# define PTR void * /* for generic pointers */
110# else /* not standard C */ 106# else /* not standard C */
111# define __P(args) () /* no prototypes */
112# define const /* remove const for old compilers' sake */ 107# define const /* remove const for old compilers' sake */
113# define PTR long * /* don't use void* */ 108# define PTR long * /* don't use void* */
114# endif 109# endif
diff --git a/lib-src/pop.c b/lib-src/pop.c
index 974ae784794..59ec84c627c 100644
--- a/lib-src/pop.c
+++ b/lib-src/pop.c
@@ -108,14 +108,6 @@ extern int h_errno;
108#endif 108#endif
109#endif 109#endif
110 110
111#ifndef __P
112# ifdef __STDC__
113# define __P(a) a
114# else
115# define __P(a) ()
116# endif /* __STDC__ */
117#endif /* ! __P */
118
119static int socket_connection (char *, int); 111static int socket_connection (char *, int);
120static int pop_getline (popserver, char **); 112static int pop_getline (popserver, char **);
121static int sendline (popserver, char *); 113static int sendline (popserver, char *);