From owner-svn-src-all@FreeBSD.ORG Mon May 17 19:13:50 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 43E8C1065674; Mon, 17 May 2010 19:13:50 +0000 (UTC) (envelope-from pjd@FreeBSD.org) Received: from svn.freebsd.org (unknown [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 33BAE8FC1E; Mon, 17 May 2010 19:13:50 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o4HJDoJj013468; Mon, 17 May 2010 19:13:50 GMT (envelope-from pjd@svn.freebsd.org) Received: (from pjd@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o4HJDoSW013467; Mon, 17 May 2010 19:13:50 GMT (envelope-from pjd@svn.freebsd.org) Message-Id: <201005171913.o4HJDoSW013467@svn.freebsd.org> From: Pawel Jakub Dawidek Date: Mon, 17 May 2010 19:13:49 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r208210 - head/usr.bin/wc X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 May 2010 19:13:50 -0000 Author: pjd Date: Mon May 17 19:13:49 2010 New Revision: 208210 URL: http://svn.freebsd.org/changeset/base/208210 Log: Use better type for siginfo (volatile sig_atomic_t instead of int). Pointed out by: jh Modified: head/usr.bin/wc/wc.c Modified: head/usr.bin/wc/wc.c ============================================================================== --- head/usr.bin/wc/wc.c Mon May 17 17:56:27 2010 (r208209) +++ head/usr.bin/wc/wc.c Mon May 17 19:13:49 2010 (r208210) @@ -63,7 +63,8 @@ __FBSDID("$FreeBSD$"); #include uintmax_t tlinect, twordct, tcharct, tlongline; -int doline, doword, dochar, domulti, dolongline, siginfo; +int doline, doword, dochar, domulti, dolongline; +static volatile sig_atomic_t siginfo; static void show_cnt(const char *file, uintmax_t linect, uintmax_t wordct, uintmax_t charct, uintmax_t llct);