From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.devel Subject: [PATCH 03/13] Remove unused function print_regions Date: Sat, 20 May 2017 16:58:31 +0200 Message-ID: <20170520145841.94282-3-phst@google.com> References: <20170520145841.94282-1-phst@google.com> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1495292580 20588 195.159.176.226 (20 May 2017 15:03:00 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 20 May 2017 15:03:00 +0000 (UTC) Cc: Philipp Stephani To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 20 17:02:57 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dC5uC-0005FJ-9V for ged-emacs-devel@m.gmane.org; Sat, 20 May 2017 17:02:56 +0200 Original-Received: from localhost ([::1]:34521 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dC5uH-0001O4-NX for ged-emacs-devel@m.gmane.org; Sat, 20 May 2017 11:03:01 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49931) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dC5qg-0007qO-Kv for emacs-devel@gnu.org; Sat, 20 May 2017 10:59:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dC5qc-0003FE-Vv for emacs-devel@gnu.org; Sat, 20 May 2017 10:59:18 -0400 Original-Received: from mail-wm0-x243.google.com ([2a00:1450:400c:c09::243]:34170) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dC5qc-0003Et-Q5 for emacs-devel@gnu.org; Sat, 20 May 2017 10:59:14 -0400 Original-Received: by mail-wm0-x243.google.com with SMTP id d127so23290658wmf.1 for ; Sat, 20 May 2017 07:59:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=kDCJzhbRLofwrLkhEWopphWevRoNUGjaseO0LgNvnys=; b=I1ttt13uEQCSEw2WWQwvIr6bjbLsMmdXKI2FwLx+8T7HCoWkVF4kCnwmA53LYJ+1L2 iD1mS6lEqN7zHD0/M4SvUi3Ng2sufFo+s6eThEjdxo0ujndyJ9EYgOlkd8Cl0ze3Zsgs D5vqfEkbQbdjhGxSesziic4xwJ2CZFlHpkPcwvU6DPmhK1p2I3l6ejTSvqcRL8GsJ5nl A85JAZ76z/bOxetZ0ROF0Bx9XsIw9nvIhSfhfmt4X+gjSelRRR0Y66uRkEubB8YHhIjS 6Riwa+2VuLhDM5F5yBAdce6tdcYQLw3wF4YIATmnWQaG3N6QC13c+BFekC5cZJKOvsqt QQPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=kDCJzhbRLofwrLkhEWopphWevRoNUGjaseO0LgNvnys=; b=r4mp32o+4WmlcrRQffkBHpUzrqP4Z5Vtpu32nrB7GDWvi3h8tJNrH8x0whSandxRXk qcMpOXIVK7SKP+uTPrDl9k0oxiWZEVW3U04Y6F5mGXAKKwkWnBefU9SxWLtApWCV16nx qgPPBW69eEoQAzrXGA+eAk8BLP5S1TwhSTZvqwSu8AcmTsAYdyG7wEy/LQEc1n0Hfjy9 bIA00VgvxvBgpAOqFB6WbKfL2WX8teHIt5dQ9MvqiTfR4bNt0xOZ78NUMlHfqMb345HP NzQk6Aq0Yj6qfr6n+nBd3xMY3jTk0k6AY54JslmpjopS+iSFmF4P9+Pu6hsdWEkotQXG 8LcA== X-Gm-Message-State: AODbwcAv73MqbCgAVBntmEc40e6LLXM10NlzDrhxyH6I3pimvfilXG/F 0VSYQtLSrh4GBQ== X-Received: by 10.28.199.10 with SMTP id x10mr23469454wmf.83.1495292353689; Sat, 20 May 2017 07:59:13 -0700 (PDT) Original-Received: from p.cm.cablesurf.de (46.128.198.151.dynamic.cablesurf.de. [46.128.198.151]) by smtp.gmail.com with ESMTPSA id 4sm7795937wrv.33.2017.05.20.07.59.12 (version=TLS1 cipher=AES128-SHA bits=128/128); Sat, 20 May 2017 07:59:13 -0700 (PDT) X-Google-Original-From: Philipp Stephani X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170520145841.94282-1-phst@google.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::243 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:215020 Archived-At: --- src/unexmacosx.c | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/src/unexmacosx.c b/src/unexmacosx.c index 97dcb435d3..3b1efa3ca3 100644 --- a/src/unexmacosx.c +++ b/src/unexmacosx.c @@ -346,31 +346,6 @@ print_region_list (void) print_region (r->address, r->size, r->protection, r->max_protection); } -static void -print_regions (void) -{ - task_t target_task = mach_task_self (); - vm_address_t address = (vm_address_t) 0; - vm_size_t size; - struct vm_region_basic_info info; - mach_msg_type_number_t info_count = VM_REGION_BASIC_INFO_COUNT; - mach_port_t object_name; - - printf (" address size prot maxp\n"); - - while (vm_region (target_task, &address, &size, VM_REGION_BASIC_INFO, - (vm_region_info_t) &info, &info_count, &object_name) - == KERN_SUCCESS && info_count == VM_REGION_BASIC_INFO_COUNT) - { - print_region (address, size, info.protection, info.max_protection); - - if (object_name != MACH_PORT_NULL) - mach_port_deallocate (target_task, object_name); - - address += size; - } -} - /* Build the list of regions that need to be dumped. Regions with addresses above VM_DATA_TOP are omitted. Adjacent regions with identical protection are merged. Note that non-writable regions -- 2.13.0