Skip to content

Commit 4a3eb8d

Browse files
committed
libcupsfilters: Silenced compiler warnings
1 parent 1a07991 commit 4a3eb8d

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

NEWS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ NEWS - OpenPrinting CUPS Filters v1.28.8 - 2021-03-25
33

44
CHANGES IN V1.28.9
55

6+
- libcupsfilters: Silenced compiler warnings
67
- libcupsfilters: Removed duplicate code in the
78
apply_filters() function.
89
- driverless: If there are no driverless IPP printers

cupsfilters/ipp.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ enum resolve_uri_converter_type /**** Resolving DNS-SD based URI ****/
4444
IPPFIND_BASED_CONVERTER_FOR_FAX_URI = 1
4545
};
4646

47+
char get_printer_attributes_log[LOGSIZE];
48+
4749
static int
4850
convert_to_port(char *a)
4951
{

cupsfilters/ipp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ extern "C" {
4141
#define MAX_OUTPUT_LEN 8192
4242
#define MAX_URI_LEN 2048
4343

44-
char get_printer_attributes_log[LOGSIZE];
44+
extern char get_printer_attributes_log[LOGSIZE];
4545

4646
char *resolve_uri(const char *raw_uri);
4747
char *ippfind_based_uri_converter(const char *uri ,int is_fax);

0 commit comments

Comments
 (0)