diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2024-02-20 18:39:17 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2024-02-20 18:39:17 +0000 |
commit | 3fee7239fed57ed85181ffdcd43e99ee5c64066c (patch) | |
tree | bac03ca6be6fb63bfb6f72db2a3e90d21e5132e9 /editor | |
parent | 46cc33320db790cf550d7e325d41e309fd714a08 (diff) | |
download | netpbm-mirror-3fee7239fed57ed85181ffdcd43e99ee5c64066c.tar.gz netpbm-mirror-3fee7239fed57ed85181ffdcd43e99ee5c64066c.tar.xz netpbm-mirror-3fee7239fed57ed85181ffdcd43e99ee5c64066c.zip |
cleanup
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4846 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'editor')
-rw-r--r-- | editor/pamcut.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/editor/pamcut.c b/editor/pamcut.c index 29a04e77..bbb430a7 100644 --- a/editor/pamcut.c +++ b/editor/pamcut.c @@ -533,7 +533,7 @@ writeBlackRows(const struct pam * const outpamP, -struct rowCutter { +typedef struct { /*---------------------------------------------------------------------------- This is an object that gives you pointers you can use to effect the horizontal cutting and padding of a row just by doing one @@ -575,7 +575,7 @@ struct rowCutter { tuple * copyTuples; tuple blackTuple; tuple discardTuple; -}; +} RowCutter; @@ -592,13 +592,13 @@ struct rowCutter { static void -createRowCutter(const struct pam * const inpamP, - const struct pam * const outpamP, - int const leftcol, - int const rightcol, - struct rowCutter ** const rowCutterPP) { +createRowCutter(const struct pam * const inpamP, + const struct pam * const outpamP, + int const leftcol, + int const rightcol, + RowCutter ** const rowCutterPP) { - struct rowCutter * rowCutterP; + RowCutter * rowCutterP; tuple * inputPointers; tuple * outputPointers; tuple * copyTuples; @@ -662,7 +662,7 @@ createRowCutter(const struct pam * const inpamP, static void -destroyRowCutter(struct rowCutter * const rowCutterP) { +destroyRowCutter(RowCutter * const rowCutterP) { pnm_freepamrow(rowCutterP->copyTuples); pnm_freepamtuple(rowCutterP->blackTuple); @@ -683,7 +683,7 @@ extractRowsGen(const struct pam * const inpamP, int const toprow, int const bottomrow) { - struct rowCutter * rowCutterP; + RowCutter * rowCutterP; int row; /* Write out top padding */ |