chiark / gitweb /
server/keyexch.c: Check that all of the algorithms match when setting up.
[tripe] / priv / helper.c
index 6e5834ac21562b490743199d56f0a5bab1c69ab1..400fa28bcb2408631d939f54111657bb16d5c078 100644 (file)
@@ -39,7 +39,7 @@
  * Use:                Reports a fatal error and quits.
  */
 
-static void lose(const char *excuse)
+static void NORETURN lose(const char *excuse)
 {
   moan("helper process bailing out: %s; error: %s",
        excuse,
@@ -62,7 +62,7 @@ static void lose(const char *excuse)
 
 #ifndef NTRACE
 
-static void itrace(unsigned mask, const char *fmt, ...)
+static void PRINTF_LIKE(2, 3) itrace(unsigned mask, const char *fmt, ...)
 {
   va_list ap;
   dstr d = DSTR_INIT;
@@ -92,7 +92,7 @@ static void itrace(unsigned mask, const char *fmt, ...)
 
 #define A_END ((char *)0)
 
-static void warn(const char *fmt, ...)
+static void EXECL_LIKE(0) IGNORABLE warn(const char *fmt, ...)
 {
   va_list ap;
   dstr d = DSTR_INIT, dd = DSTR_INIT;