about summary refs log tree commit diff
path: root/lib/ppmcmap.h
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2007-11-01 03:13:31 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2007-11-01 03:13:31 +0000
commita0c19101ff9d0653f7942da9df73440908723864 (patch)
treedfb0e0be78901ca7304762ff7da2c26bbed9d814 /lib/ppmcmap.h
parent50fcfe00dfef499c25e38b0e4d6c594964ca4d9a (diff)
downloadnetpbm-mirror-a0c19101ff9d0653f7942da9df73440908723864.tar.gz
netpbm-mirror-a0c19101ff9d0653f7942da9df73440908723864.tar.xz
netpbm-mirror-a0c19101ff9d0653f7942da9df73440908723864.zip
Get rid of ARGS
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@442 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'lib/ppmcmap.h')
-rw-r--r--lib/ppmcmap.h40
1 files changed, 33 insertions, 7 deletions
diff --git a/lib/ppmcmap.h b/lib/ppmcmap.h
index b44dcbea..af33b178 100644
--- a/lib/ppmcmap.h
+++ b/lib/ppmcmap.h
@@ -89,13 +89,39 @@ void
 ppm_freecolorhash(colorhash_table const cht);
 
 
-colorhash_table ppm_colorrowtocolorhash ARGS((pixel *colorrow, int ncolors));
-pixel * ppm_computecolorrow ARGS((pixel **pixels, int cols, int rows, int maxcolors, int *ncolorsP));
-pixel * ppm_mapfiletocolorrow ARGS((FILE *file, int maxcolors, int *ncolorsP, pixval *maxvalP));
-void    ppm_colorrowtomapfile ARGS((FILE *ofp, pixel *colormap, int ncolors, pixval maxval));
-void    ppm_sortcolorrow (pixel * const colorrow, const int ncolors, 
-                          int (*cmpfunc)(pixel *, pixel *) );
-int     ppm_addtocolorrow ARGS((pixel *colorrow, int *ncolorsP, int maxcolors, pixel *pixelP));
+colorhash_table
+ppm_colorrowtocolorhash(pixel * const colorrow,
+                        int     const ncolors);
+
+pixel *
+ppm_computecolorrow(pixel ** const pixels,
+                    int      const cols,
+                    int      const rows,
+                    int      const maxcolors,
+                    int *    const ncolorsP);
+
+pixel *
+ppm_mapfiletocolorrow(FILE *   const fileP,
+                      int      const maxcolors,
+                      int *    const ncolorsP,
+                      pixval * const maxvalP);
+
+void
+ppm_colorrowtomapfile(FILE *  const ofP,
+                      pixel * const colormap,
+                      int     const ncolors,
+                      pixval  const maxval);
+
+void
+ppm_sortcolorrow(pixel * const colorrow,
+                 int     const ncolors, 
+                 int (*cmpfunc)(pixel *, pixel *));
+
+int
+ppm_addtocolorrow(pixel * const colorrow,
+                  int *   const ncolorsP,
+                  int     const maxcolors,
+                  pixel * const pixelP)x;
 
 int
 ppm_findclosestcolor(const pixel * const colormap,