Mercurial > emacs
comparison lib-src/etags.c @ 109103:1dc371b29285
Remove __P.
author | Jan D <jan.h.d@swipnet.se> |
---|---|
date | Fri, 02 Jul 2010 14:55:51 +0200 |
parents | 2bc9a0c04c87 |
children | 52b76722152a |
comparison
equal
deleted
inserted
replaced
109102:388f412256c0 | 109103:1dc371b29285 |
---|---|
98 of unexec. We don't want that here since we don't use unexec. */ | 98 of unexec. We don't want that here since we don't use unexec. */ |
99 # undef static | 99 # undef static |
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 |
115 #endif /* !HAVE_CONFIG_H */ | 110 #endif /* !HAVE_CONFIG_H */ |
116 | 111 |