ports/print/gtklp/files/patch-gtklpq_gtklpq.c
Kyle Evans e4c0edb958 print/gtklp: fix build with -fno-common
Just a couple of duplicate symbols here.

PR:		248852
MFH:		2020Q3 (-fno-common build fix)
2020-08-29 01:40:29 +00:00

23 lines
568 B
C

--- gtklpq/gtklpq.c.orig 2019-11-01 16:27:28 UTC
+++ gtklpq/gtklpq.c
@@ -79,20 +79,7 @@ GtkWidget *dialog;
int m_id_upd, c_id_upd, m_id_state, c_id_state;
-char PrinterNames[MAX_PRT][DEF_PRN_LEN + 1];
-char PrinterInfos[MAX_PRT][MAXLINE + 1];
-char PrinterLocations[MAX_PRT][MAXLINE + 1];
-int PrinterNum;
-int PrinterChoice;
-char PrinterBannerStart[MAX_PRT][MAXLINE + 1];
-char PrinterBannerEnd[MAX_PRT][MAXLINE + 1];
-
unsigned int selectedJob;
-
-int lastPrinterChoice;
-
-http_t *cupsHttp;
-cups_lang_t *cupsLanguage;
int main(int argc, char *argv[])
{