]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove __P.
authorJan D <jan.h.d@swipnet.se>
Fri, 2 Jul 2010 12:55:51 +0000 (14:55 +0200)
committerJan D <jan.h.d@swipnet.se>
Fri, 2 Jul 2010 12:55:51 +0000 (14:55 +0200)
ChangeLog
configure.in
lib-src/etags.c
lib-src/pop.c
src/ChangeLog
src/config.in
src/dosfns.h
src/mktime.c
src/strftime.c
src/w32font.h

index 819b6ebfa7e0dda816a1a7de911fd343737d6fae..a04fceaa5bd7369ccffabffc1c84fcd5e5a01116 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-07-02  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * configure.in: Remove define __P.
+
 2010-07-02  Dan Nicolaescu  <dann@ics.uci.edu>
 
        * configure.in (--enable-use-lisp-union-type): New flag.
index b04bf6ea7447195bf2eefe8ca2ebcf4b70e9ee56..673674b5d88e09ffc2503b1684da8b64e7748cbf 100644 (file)
@@ -3574,14 +3574,6 @@ extern char *getenv ();
 /* Define if the compiler supports function prototypes.  It may do so but
    not define __STDC__ (e.g. DEC C by default) or may define it as zero.  */
 #undef PROTOTYPES
-/* For mktime.c:  */
-#ifndef __P
-# if defined PROTOTYPES
-#  define __P(args) args
-# else
-#  define __P(args) ()
-# endif  /* GCC.  */
-#endif /* __P */
 
 #ifdef HAVE_STRING_H
 #include <string.h>
index 53c878ec7234918e22411f670876cdbc87e81749..34d1a2ba3414451a78f14b111f04222f3d4bd941 100644 (file)
@@ -100,15 +100,10 @@ char pot_etags_version[] = "@(#) pot revision number is 17.38.1.4";
 # ifndef PTR                   /* for XEmacs */
 #   define PTR void *
 # endif
-# ifndef __P                   /* for XEmacs */
-#   define __P(args) args
-# endif
 #else  /* no config.h */
 # if defined(__STDC__) && (__STDC__ || defined(__SUNPRO_C))
-#   define __P(args) args      /* use prototypes */
 #   define PTR void *          /* for generic pointers */
 # else /* not standard C */
-#   define __P(args) ()                /* no prototypes */
 #   define const               /* remove const for old compilers' sake */
 #   define PTR long *          /* don't use void* */
 # endif
index 974ae784794f03a5bcb1289db298f558cc6d3b1e..59ec84c627c76dbbef07c8ae3d8d85083519fbbb 100644 (file)
@@ -108,14 +108,6 @@ extern int h_errno;
 #endif
 #endif
 
-#ifndef __P
-# ifdef __STDC__
-#  define __P(a) a
-# else
-#  define __P(a) ()
-# endif /* __STDC__ */
-#endif /* ! __P */
-
 static int socket_connection (char *, int);
 static int pop_getline (popserver, char **);
 static int sendline (popserver, char *);
index b36953e23f3014a279a356cfc93b162acfaab60e..cac04c6909d977915b3674396c3b27ba28fd35ef 100644 (file)
@@ -79,6 +79,7 @@
        * composite.h:
        * dispextern.h:
        * disptab.h:
+       * dosfns.h:
        * font.h:
        * fontset.h:
        * frame.h:
        * syssignal.h:
        * systime.h:
        * termhooks.h:
+       * w32font.h:
        * w32term.h:
        * widget.h:
        * window.h:
index b1370dcbb9530cb490aea72e76bdb0d1b4c58443..cfbae052c1a5654b9b73447bfaa6619e838a565e 100644 (file)
@@ -1141,14 +1141,6 @@ extern char *getenv ();
 /* Define if the compiler supports function prototypes.  It may do so but
    not define __STDC__ (e.g. DEC C by default) or may define it as zero.  */
 #undef PROTOTYPES
-/* For mktime.c:  */
-#ifndef __P
-# if defined PROTOTYPES
-#  define __P(args) args
-# else
-#  define __P(args) ()
-# endif  /* GCC.  */
-#endif /* __P */
 
 #ifdef HAVE_STRING_H
 #include <string.h>
index 1759ffd8a90aefdd6637245e21cf5128e28952c0..820b6b30e43f48a36612ff7f19898190e02b30e1 100644 (file)
@@ -38,8 +38,8 @@ extern Lisp_Object Vdos_windows_version;
 #ifndef HAVE_X_WINDOWS
 extern Lisp_Object Vdos_display_scancodes;
 
-extern int         msdos_stdcolor_idx  P_ ((const char *));
-extern Lisp_Object msdos_stdcolor_name P_ ((int));
+extern int         msdos_stdcolor_idx  (const char *);
+extern Lisp_Object msdos_stdcolor_name (int);
 #endif
 
 /* arch-tag: a83b8c4c-63c8-451e-9e94-bc72e3e2f8bc
index 20c1092a62a7bbc8911ff864c717e88d7af064b8..3570cecd451dcb71baebde0acb4ff7cf8459bb59 100644 (file)
 # define mktime my_mktime
 #endif /* DEBUG */
 
-#ifndef __P
-# if defined __GNUC__ || (defined __STDC__ && __STDC__)
-#  define __P(args) args
-# else
-#  define __P(args) ()
-# endif  /* GCC.  */
-#endif  /* Not __P.  */
-
 #ifndef CHAR_BIT
 # define CHAR_BIT 8
 #endif
index e96d8a92332c673348abf49ba2284fb8820b3b63..a7617427793dadfd0528a9e91090827ffba63519 100644 (file)
@@ -131,14 +131,6 @@ extern char *tzname[];
 # endif
 #endif
 
-#ifndef __P
-# if defined __GNUC__ || (defined __STDC__ && __STDC__) || defined (PROTOTYPES)
-#  define __P(args) args
-# else
-#  define __P(args) ()
-# endif  /* GCC.  */
-#endif  /* Not __P.  */
-
 #ifndef PTR
 # ifdef __STDC__
 #  define PTR void *
index 3e2345589b5b0093151b2af8636f7024542476de..6479f95faf5be9de85f5992e293f78a7cbfde3eb 100644 (file)
@@ -62,26 +62,26 @@ struct w32font_info
 
 #define CACHE_BLOCKSIZE 128
 
-Lisp_Object w32font_get_cache P_ ((FRAME_PTR fe));
-Lisp_Object w32font_list_internal P_ ((Lisp_Object frame,
-                                       Lisp_Object font_spec,
-                                       int opentype_only));
-Lisp_Object w32font_match_internal P_ ((Lisp_Object frame,
-                                        Lisp_Object font_spec,
-                                        int opentype_only));
-int w32font_open_internal P_ ((FRAME_PTR f, Lisp_Object font_entity,
-                               int pixel_size, Lisp_Object font_object));
-void w32font_close P_ ((FRAME_PTR f, struct font *font));
-int w32font_has_char P_ ((Lisp_Object entity, int c));
-int w32font_text_extents P_ ((struct font *font, unsigned *code, int nglyphs,
-                              struct font_metrics *metrics));
-int w32font_draw P_ ((struct glyph_string *s, int from, int to,
-                      int x, int y, int with_background));
-
-
-int uniscribe_check_otf P_ ((LOGFONT *font, Lisp_Object otf_spec));
-
-Lisp_Object intern_font_name P_ ((char *));
+Lisp_Object w32font_get_cache (FRAME_PTR fe);
+Lisp_Object w32font_list_internal (Lisp_Object frame,
+                                   Lisp_Object font_spec,
+                                   int opentype_only);
+Lisp_Object w32font_match_internal (Lisp_Object frame,
+                                    Lisp_Object font_spec,
+                                    int opentype_only);
+int w32font_open_internal (FRAME_PTR f, Lisp_Object font_entity,
+                           int pixel_size, Lisp_Object font_object);
+void w32font_close (FRAME_PTR f, struct font *font);
+int w32font_has_char (Lisp_Object entity, int c);
+int w32font_text_extents (struct font *font, unsigned *code, int nglyphs,
+                          struct font_metrics *metrics);
+int w32font_draw (struct glyph_string *s, int from, int to,
+                  int x, int y, int with_background);
+
+
+int uniscribe_check_otf (LOGFONT *font, Lisp_Object otf_spec);
+
+Lisp_Object intern_font_name (char *);
 
 #endif