742efb6ff310c75a30cf13088111139cf713b9db angie Tue Feb 23 11:06:52 2016 -0800 Unifying some triplicate code to print an HTTP error 400 response (Bad Request) and exit. diff --git src/hg/inc/api.h src/hg/inc/api.h index 00e54a4..1b5d568 100644 --- src/hg/inc/api.h +++ src/hg/inc/api.h @@ -1,10 +1,7 @@ /* Utility functions for web API programs */ /* Copyright (C) 2012 The Regents of the University of California * See README in this or parent directory for licensing information. */ void apiOut(char *text, char *jsonp); /* Output content header and text to stdout */ - -void apiWarnAbortHandler(char *format, va_list args); -/* warnAbort handler that aborts with an HTTP 400 status code. */