Commit 4afc641f authored by Mike Gabriel's avatar Mike Gabriel

nxcomp: Add __attribute__((noreturn)) to more functions where appropriate.

parent b3a3382a
......@@ -519,7 +519,7 @@ class Channel
// Set up the split stores.
//
void handleSplitStoreError(int resource);
void handleSplitStoreError(int resource) __attribute__((noreturn));
void handleSplitStoreAlloc(List *list, int resource);
void handleSplitStoreRemove(List *list, int resource);
......
......@@ -106,7 +106,7 @@ static int DecompressJpeg24(unsigned char *compressedData, int compressedLen,
static int DecompressJpeg32(unsigned char *compressedData, int compressedLen,
unsigned int w, unsigned int h, unsigned char *dstBuf, int byteOrder);
void UnpackJpegErrorHandler(j_common_ptr cinfo);
void UnpackJpegErrorHandler(j_common_ptr cinfo) __attribute__((noreturn));
//
// Colormap stuff.
......
......@@ -413,9 +413,9 @@ class AgentTransport : public Transport
// These two should never be called.
//
virtual int flush();
virtual int flush() __attribute__((noreturn));
virtual int drain(int limit, int timeout);
virtual int drain(int limit, int timeout) __attribute((noreturn));
//
// Same as in the base class.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment