* patch for removing some c99 style comments
@ 2009-08-24 12:08 joakim
2009-08-24 19:46 ` Michael Albinus
0 siblings, 1 reply; 2+ messages in thread
From: joakim @ 2009-08-24 12:08 UTC (permalink / raw)
To: Emacs Development
[-- 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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: patch for removing some c99 style comments
2009-08-24 12:08 patch for removing some c99 style comments joakim
@ 2009-08-24 19:46 ` Michael Albinus
0 siblings, 0 replies; 2+ messages in thread
From: Michael Albinus @ 2009-08-24 19:46 UTC (permalink / raw)
To: joakim; +Cc: Emacs Development
joakim@verona.se writes:
> 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);
> }
That's already history. It was a private comment for test code I forgot
to cleanup.
Best regards, Michael.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-08-24 19:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-24 12:08 patch for removing some c99 style comments joakim
2009-08-24 19:46 ` Michael Albinus
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.