Date: Mon, 17 May 2010 19:13:49 +0000 (UTC) From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r208210 - head/usr.bin/wc Message-ID: <201005171913.o4HJDoSW013467@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <wctype.h> 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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005171913.o4HJDoSW013467>