]> git.ipfire.org Git - thirdparty/cups-filters.git/commitdiff
libcupsfilters: Declare raster_base_header() function static
authorTill Kamppeter <till.kamppeter@gmail.com>
Sun, 28 Aug 2022 21:46:56 +0000 (23:46 +0200)
committerTill Kamppeter <till.kamppeter@gmail.com>
Sun, 28 Aug 2022 21:46:56 +0000 (23:46 +0200)
raster_base_header() is only used inside the cupsfilters/raster.c file
and not intended to be an API function.

cupsfilters/raster.c

index 83402a797e82f3c8062f93f343a51205806d712a..830d898772d860fa5e07e1ac0a42c2fdf70dc6a6 100644 (file)
@@ -30,8 +30,8 @@
  * Local functions
  */
 
-int raster_base_header(cups_page_header2_t *h, cf_filter_data_t *data,
-                      int pwg_raster);
+static int raster_base_header(cups_page_header2_t *h, cf_filter_data_t *data,
+                             int pwg_raster);
 
 /*
  * '_strlcpy()' - Safely copy two strings.
@@ -968,7 +968,7 @@ cfRasterSetColorSpace(cups_page_header2_t *h, /* I  - Raster header */
 }
 
 
-int                                        /* O - -1 on error, 0 on success */
+static int                                 /* O - -1 on error, 0 on success */
 raster_base_header(cups_page_header2_t *h, /* O - Raster header */
                   cf_filter_data_t *data, /* I - Filter data */
                   int pwg_raster)         /* I - 1 if PWG/Apple Raster */