aboutsummaryrefslogtreecommitdiff
path: root/nxcomp/src/Transport.h
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-07-12 13:35:57 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-07-26 10:12:45 +0200
commit4afc641fdd8c03bd708f50e0c3691b5de7ea1dba (patch)
treea0bcbfa2c4ae1111ad3d49390c7abd0ae3a9a2ed /nxcomp/src/Transport.h
parentb3a3382ad8e162b0a63bc71ebb2238b14875cdc5 (diff)
downloadnx-libs-4afc641fdd8c03bd708f50e0c3691b5de7ea1dba.tar.gz
nx-libs-4afc641fdd8c03bd708f50e0c3691b5de7ea1dba.tar.bz2
nx-libs-4afc641fdd8c03bd708f50e0c3691b5de7ea1dba.zip
nxcomp: Add __attribute__((noreturn)) to more functions where appropriate.
Diffstat (limited to 'nxcomp/src/Transport.h')
-rw-r--r--nxcomp/src/Transport.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/nxcomp/src/Transport.h b/nxcomp/src/Transport.h
index 047396af6..4ae0e3c25 100644
--- a/nxcomp/src/Transport.h
+++ b/nxcomp/src/Transport.h
@@ -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.