summaryrefslogtreecommitdiffstats
path: root/src/trace/potrace/greymap.cpp
diff options
context:
space:
mode:
authorBob Jamison <ishmalius@gmail.com>2007-10-26 21:01:30 +0000
committerishmal <ishmal@users.sourceforge.net>2007-10-26 21:01:30 +0000
commit7427b461ed13f3e84f61a02f55ca04ff8f2d49ad (patch)
treec1e4331a2a92b26e157904fd6ecca93c8cff3552 /src/trace/potrace/greymap.cpp
parentadd ca@valencian language to win32 installer selection (diff)
downloadinkscape-7427b461ed13f3e84f61a02f55ca04ff8f2d49ad.tar.gz
inkscape-7427b461ed13f3e84f61a02f55ca04ff8f2d49ad.zip
Update Potrace to 1.8
(bzr r3965)
Diffstat (limited to 'src/trace/potrace/greymap.cpp')
-rw-r--r--src/trace/potrace/greymap.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/trace/potrace/greymap.cpp b/src/trace/potrace/greymap.cpp
index 7d46304cd..53c703aa4 100644
--- a/src/trace/potrace/greymap.cpp
+++ b/src/trace/potrace/greymap.cpp
@@ -1,5 +1,5 @@
-/* Copyright (C) 2001-2005 Peter Selinger.
- This file is part of potrace. It is free software and it is covered
+/* Copyright (C) 2001-2007 Peter Selinger.
+ This file is part of Potrace. It is free software and it is covered
by the GNU General Public License. See the file COPYING for details. */
/* $Id$ */
@@ -442,7 +442,7 @@ static int bmp_readint(FILE *f, int n, unsigned int *p) {
}
/* reset padding boundary */
-static void bmp_pad_reset() {
+static void bmp_pad_reset(void) {
bmp_count = 0;
}
@@ -488,7 +488,7 @@ static int bmp_forward(FILE *f, int pos) {
although most specifications only allow 1,4,8,24,32. We can also
read both the old and new OS/2 BMP formats in addition to the
Windows BMP format. */
-int gm_readbody_bmp(FILE *f, greymap_t **gmp) {
+static int gm_readbody_bmp(FILE *f, greymap_t **gmp) {
bmp_info_t bmpinfo;
int *coltable;
unsigned int b, c;