diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2010-09-29 21:45:56 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2010-09-29 21:45:56 +0000 |
commit | 28ed9cda2a47c17130ee5b97588695ed3acb4e45 (patch) | |
tree | 8de89d205b94221a7941177f365f0e05c0fad039 /editor/pnmconvol.c | |
parent | c1b82fa06e7e88a68c877c501fc0422888920415 (diff) | |
download | netpbm-mirror-28ed9cda2a47c17130ee5b97588695ed3acb4e45.tar.gz netpbm-mirror-28ed9cda2a47c17130ee5b97588695ed3acb4e45.tar.xz netpbm-mirror-28ed9cda2a47c17130ee5b97588695ed3acb4e45.zip |
Rename nstring.h functions with pm_ prefix
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1320 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'editor/pnmconvol.c')
-rw-r--r-- | editor/pnmconvol.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/editor/pnmconvol.c b/editor/pnmconvol.c index 61effe70..d0b3b307 100644 --- a/editor/pnmconvol.c +++ b/editor/pnmconvol.c @@ -88,7 +88,7 @@ countMatrixOptColumns(const char * const rowString, if (error) { pm_error("Unable to parse -matrix value row '%s'. %s", rowString, error); - strfree(error); + pm_strfree(error); } else { ++colCt; @@ -97,7 +97,7 @@ countMatrixOptColumns(const char * const rowString, assert(*cursor == ','); ++cursor; /* advance over comma to next column */ } - strfree(colString); + pm_strfree(colString); } } *colCtP = colCt; @@ -133,7 +133,7 @@ getMatrixOptDimensions(const char * const matrixOptString, if (error) { pm_error("Unable to parse -matrix value '%s'. %s", matrixOptString, error); - strfree(error); + pm_strfree(error); } else { unsigned int colCt; ++rowCt; @@ -147,7 +147,7 @@ getMatrixOptDimensions(const char * const matrixOptString, pm_error("-matrix option value contains rows of different " "widths: %u and %u", *widthP, colCt); } - strfree(rowString); + pm_strfree(rowString); cursor = next; if (*cursor) { @@ -178,7 +178,7 @@ parseMatrixRow(const char * const matrixOptRowString, if (error) { pm_error("Failed parsing a row in the -matrix value. %s", error); - strfree(error); + pm_strfree(error); } else { if (colString[0] == '\0') pm_error("The Column %u element of the row '%s' in the " @@ -193,7 +193,7 @@ parseMatrixRow(const char * const matrixOptRowString, "-matrix value is not a valid floating point " "number", col, matrixOptRowString); } - strfree(colString); + pm_strfree(colString); cursor = next; @@ -225,11 +225,11 @@ parseMatrixOptWithDimensions(const char * const matrixOptString, if (error) { pm_error("Failed parsing -matrix value. %s", error); - strfree(error); + pm_strfree(error); } else { parseMatrixRow(rowString, width, weight[row]); - strfree(rowString); + pm_strfree(rowString); cursor = next; @@ -701,7 +701,7 @@ parsePlaneFileLine(const char * const line, ++colCt; } - strfree(token); + pm_strfree(token); } *weightP = weight; *widthP = colCt; @@ -768,7 +768,7 @@ readPlaneFile(FILE * const ifP, } ++rowCt; } - strfree(line); + pm_strfree(line); } } } |