From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.devel Subject: patch for removing some c99 style comments Date: Mon, 24 Aug 2009 14:08:30 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1251118366 23742 80.91.229.12 (24 Aug 2009 12:52:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 24 Aug 2009 12:52:46 +0000 (UTC) To: Emacs Development Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 24 14:52:40 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MfZ2K-00015d-Bs for ged-emacs-devel@m.gmane.org; Mon, 24 Aug 2009 14:52:39 +0200 Original-Received: from localhost ([127.0.0.1]:48675 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MfZ2I-00010X-H0 for ged-emacs-devel@m.gmane.org; Mon, 24 Aug 2009 08:52:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MfYLm-0007kA-T4 for emacs-devel@gnu.org; Mon, 24 Aug 2009 08:08:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MfYLi-0007dr-Bo for emacs-devel@gnu.org; Mon, 24 Aug 2009 08:08:38 -0400 Original-Received: from [199.232.76.173] (port=42397 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MfYLh-0007dd-Sl for emacs-devel@gnu.org; Mon, 24 Aug 2009 08:08:33 -0400 Original-Received: from iwfs.imcode.com ([82.115.149.64]:54755 helo=gate.verona.se) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MfYLh-000154-9k for emacs-devel@gnu.org; Mon, 24 Aug 2009 08:08:33 -0400 Original-Received: from localhost.localdomain (IDENT:1005@localhost [127.0.0.1]) by gate.verona.se (8.13.4/8.11.4) with ESMTP id n7OC8UM2031524 for ; Mon, 24 Aug 2009 14:08:30 +0200 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:114554 Archived-At: --=-=-= 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. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=c89.patch 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 --=-=-=--