[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r100753: Remove leftover P_ macros.
From: |
Dan Nicolaescu |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r100753: Remove leftover P_ macros. |
Date: |
Wed, 07 Jul 2010 22:48:57 -0700 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 100753
committer: Dan Nicolaescu <address@hidden>
branch nick: trunk
timestamp: Wed 2010-07-07 22:48:57 -0700
message:
Remove leftover P_ macros.
* lib-src/update-game-score.c (P_): Remove macro.
* lib-src/ebrowse.c: Remove include guards.
(P_): Remove macro.
modified:
lib-src/ChangeLog
lib-src/ebrowse.c
lib-src/update-game-score.c
=== modified file 'lib-src/ChangeLog'
--- a/lib-src/ChangeLog 2010-07-07 22:18:28 +0000
+++ b/lib-src/ChangeLog 2010-07-08 05:48:57 +0000
@@ -1,3 +1,9 @@
+2010-07-08 Dan Nicolaescu <address@hidden>
+
+ * update-game-score.c (P_): Remove macro.
+ * ebrowse.c: Remove include guards.
+ (P_): Remove macro.
+
2010-07-07 Andreas Schwab <address@hidden>
* ebrowse.c (add_sym, make_namespace): Replace bcopy, bzero by
=== modified file 'lib-src/ebrowse.c'
--- a/lib-src/ebrowse.c 2010-07-07 22:18:28 +0000
+++ b/lib-src/ebrowse.c 2010-07-08 05:48:57 +0000
@@ -20,20 +20,14 @@
along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
-#ifdef HAVE_CONFIG_H
#include <config.h>
-#endif
-
#include <stdio.h>
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
-#ifdef HAVE_STRING_H
#include <string.h>
-#endif
-
#include <ctype.h>
#include <assert.h>
#include "getopt.h"
@@ -45,12 +39,6 @@
/* Conditionalize function prototypes. */
-#ifdef PROTOTYPES /* From config.h. */
-#define P_(x) x
-#else
-#define P_(x) ()
-#endif
-
/* Value is non-zero if strings X and Y compare equal. */
#define streq(X, Y) (*(X) == *(Y) && strcmp ((X) + 1, (Y) + 1) == 0)
=== modified file 'lib-src/update-game-score.c'
--- a/lib-src/update-game-score.c 2010-07-03 00:50:23 +0000
+++ b/lib-src/update-game-score.c 2010-07-08 05:48:57 +0000
@@ -64,13 +64,6 @@
#define MAX_SCORES 200
#define MAX_DATA_LEN 1024
-/* Declare the prototype for a general external function. */
-#if defined (PROTOTYPES) || defined (WINDOWSNT)
-#define P_(proto) proto
-#else
-#define P_(proto) ()
-#endif
-
#ifndef HAVE_DIFFTIME
/* OK on POSIX (time_t is arithmetic type) modulo overflow in subtraction. */
#define difftime(t1, t0) (double)((t1) - (t0))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r100753: Remove leftover P_ macros.,
Dan Nicolaescu <=