remove dead code ... in code that's not plugged in yet ;-)
authorgilles <gilles@openbsd.org>
Sat, 19 Apr 2014 17:35:48 +0000 (17:35 +0000)
committergilles <gilles@openbsd.org>
Sat, 19 Apr 2014 17:35:48 +0000 (17:35 +0000)
usr.sbin/smtpd/filter_api.c

index 95a72e3..ba19a18 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: filter_api.c,v 1.13 2014/04/09 18:55:19 eric Exp $    */
+/*     $OpenBSD: filter_api.c,v 1.14 2014/04/19 17:35:48 gilles Exp $  */
 
 /*
  * Copyright (c) 2013 Eric Faurot <eric@openbsd.org>
@@ -853,13 +853,3 @@ proc_name(enum smtp_proc_type proc)
                return filter_name;
        return "filter";
 }
-
-const char *
-imsg_to_str(int imsg)
-{
-       static char buf[32];
-
-       snprintf(buf, sizeof(buf), "%d", imsg);
-
-       return (buf);
-}