c367e2facb46692e6e3f07277fe369a5ad382e18 chmalee Mon Mar 29 16:40:14 2021 -0700 Fixing link error in clang, found by mbargull on github: https://github.com/ucscGenomeBrowser/kent/pull/54, refs #27303 diff --git src/inc/htmshell.h src/inc/htmshell.h index 9d85f45..dd586db 100644 --- src/inc/htmshell.h +++ src/inc/htmshell.h @@ -148,31 +148,31 @@ void htmlSetBackground(char *imageFile); /* Set background image - needs to be called before htmlStart * or htmShell. */ void htmlSetBgColor(int color); /* Set background color - needs to be called before htmlStart * or htmShell. */ void htmlBadVar(char *varName); /* Complain about input variables. */ void htmlImage(char *fileName, int width, int height); /* Display centered image file. */ -jmp_buf htmlRecover; /* Error recovery jump. Exposed for cart's use. */ +extern jmp_buf htmlRecover; /* Error recovery jump. Exposed for cart's use. */ void htmlVaWarn(char *format, va_list args); /* Write an error message. (Generally you just call warn() or errAbort(). * This is exposed mostly for the benefit of the cart.) */ void htmlVaBadRequestAbort(char *format, va_list args); /* Print out an HTTP header 400 status code (Bad Request) and message, then exit with error. * NOTE: This must be installed using pushWarnHandler (pushAbortHandler optional) because * vaErrAbort calls vaWarn and then noWarnAbort. So if the defaut warn handler is used, then * the error message will be printed out by defaultVaWarn before this prints out the header. */ char *htmlWarnStartPattern(); /* Return starting pattern for warning message. */ char *htmlWarnEndPattern();