projects
/
pspp-builds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
800214f
)
output: Get rid of 'prc' member of struct outp_driver.
author
Ben Pfaff
<blp@gnu.org>
Wed, 1 Jul 2009 22:55:35 +0000
(15:55 -0700)
committer
Ben Pfaff
<blp@gnu.org>
Wed, 1 Jul 2009 22:55:35 +0000
(15:55 -0700)
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.
src/output/output.c
patch
|
blob
|
history
src/output/output.h
patch
|
blob
|
history
diff --git
a/src/output/output.c
b/src/output/output.c
index c0747a973dc7db33a2b370b28e25b6e647bb23c3..1b8fe97bf7b9259f150bee1bd9c8a2561a9a8d8d 100644
(file)
--- 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 bfab57ecfb9cee927b72ef6019468672aaead59a..09dddc772ffe7e55120fabff5350a6362d8e9eb9 100644
(file)
--- 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. */