From: joakim@verona.se
To: Emacs Development <emacs-devel@gnu.org>
Subject: patch for removing some c99 style comments
Date: Mon, 24 Aug 2009 14:08:30 +0200 [thread overview]
Message-ID: <m3bpm5o1mp.fsf@verona.se> (raw)
[-- Attachment #1: Type: text/plain, Size: 142 bytes --]
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.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: c89.patch --]
[-- Type: text/x-patch, Size: 1555 bytes --]
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)
{
[-- Attachment #3: Type: text/plain, Size: 20 bytes --]
--
Joakim Verona
next reply other threads:[~2009-08-24 12:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-24 12:08 joakim [this message]
2009-08-24 19:46 ` patch for removing some c99 style comments Michael Albinus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3bpm5o1mp.fsf@verona.se \
--to=joakim@verona.se \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.