emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

patch for removing some c99 style comments


From: joakim
Subject: patch for removing some c99 style comments
Date: Mon, 24 Aug 2009 14:08:30 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

I found some c99 style comments while compiling with -std=c89.
Maybe they are already gone in cvs head, I use the git mirror so I dont know.

diff --git a/src/dbusbind.c b/src/dbusbind.c
index 33a0700..c2d549c 100644
--- a/src/dbusbind.c
+++ b/src/dbusbind.c
@@ -744,7 +744,7 @@ xd_add_watch (watch, data)
       if (fd == -1)
        return FALSE;
 
-      //printf ("xd_add_watch: %d\n", fd);
+      /*printf ("xd_add_watch: %d\n", fd);*/
       /* Add the file descriptor to input_wait_mask.  */
       add_keyboard_wait_descriptor (fd);
     }
@@ -769,7 +769,7 @@ xd_remove_watch (watch, data)
       if (fd == -1)
        return;
 
-      //printf ("xd_remove_watch: %d\n", fd);
+      /*printf ("xd_remove_watch: %d\n", fd);*/
       /* Remove the file descriptor from input_wait_mask.  */
       delete_keyboard_wait_descriptor (fd);
     }
diff --git a/src/image.c b/src/image.c
index e10f381..fa4eecd 100644
--- a/src/image.c
+++ b/src/image.c
@@ -5097,7 +5097,7 @@ x_disable_image (f, img)
       Display *dpy = FRAME_X_DISPLAY (f);
       GC gc;
 
-#ifndef HAVE_NS  //TODO: NS support, however this not needed for toolbars
+#ifndef HAVE_NS  /* TODO: NS support, however this not needed for toolbars */
 
 #define MaskForeground(f)  WHITE_PIX_DEFAULT (f)
 
diff --git a/src/xterm.c b/src/xterm.c
index ae61983..e536d0d 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -8654,7 +8654,7 @@ x_check_fullscreen (f)
     return;
 
   if (f->output_data.x->parent_desc != FRAME_X_DISPLAY_INFO (f)->root_window)
-    return; // Only fullscreen without WM or with EWM hints (above).
+    return; /* Only fullscreen without WM or with EWM hints (above). */
 
   if (f->want_fullscreen != FULLSCREEN_NONE)
     {

-- 
Joakim Verona

reply via email to

[Prev in Thread] Current Thread [Next in Thread]