Date: Wed, 3 Mar 1999 01:27:11 -0600 (CST) From: chris@holly.dyndns.org To: FreeBSD-gnats-submit@freebsd.org Subject: bin/10368: 'pgtok redefined' error in ps(1) Message-ID: <199903030727.BAA40387@holly.dyndns.org>
next in thread | raw e-mail | index | archive | help
>Number: 10368 >Category: bin >Synopsis: 'pgtok redefined' error in ps(1) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Mar 2 23:30:01 PST 1999 >Closed-Date: >Last-Modified: >Originator: Chris Costello >Release: FreeBSD 4.0-CURRENT i386 >Organization: >Environment: FreeBSD 4.0-CURRENT, CVSupped Feb. 28 >Description: /usr/src/bin/ps/print.c:409: warning: `pgtok' redefined >How-To-Repeat: Compile ps with -Wall enabled. >Fix: --- print.c.orig Wed Mar 3 01:22:46 1999 +++ print.c Wed Mar 3 01:23:31 1999 @@ -406,6 +406,9 @@ (void)printf("%-*s", v->width, "-"); } +#ifdef pgtok +#undef pgtok +#endif #define pgtok(a) (((a)*getpagesize())/1024) void >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903030727.BAA40387>