From: Ben Pfaff Date: Wed, 1 Jul 2009 22:55:35 +0000 (-0700) Subject: output: Get rid of 'prc' member of struct outp_driver. X-Git-Tag: v0.7.3~16 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73fc61ceb0586d13195c3da232bb0c733f469f50;p=pspp-builds.git output: Get rid of 'prc' member of struct outp_driver. Not only is having a per-procedure member in struct outp_driver a layering violation, it wasn't very useful, so this commit gets rid of it. --- diff --git a/src/output/output.c b/src/output/output.c index c0747a97..1b8fe97b 100644 --- a/src/output/output.c +++ b/src/output/output.c @@ -706,7 +706,6 @@ outp_allocate_driver (const struct outp_class *class, d->device = types; d->cp_x = d->cp_y = 0; d->ext = NULL; - d->prc = NULL; return d; } diff --git a/src/output/output.h b/src/output/output.h index bfab57ec..09dddc77 100644 --- a/src/output/output.h +++ b/src/output/output.h @@ -115,7 +115,6 @@ struct outp_driver int vert_line_width[OUTP_L_COUNT]; /* Width of vertical lines. */ void *ext; /* Private extension record. */ - void *prc; /* Per-procedure extension record. */ }; /* Option structure for the keyword recognizer. */