Module Name:    othersrc
Committed By:   lukem
Date:           Wed Jan 23 07:00:21 UTC 2019

Modified Files:
        othersrc/libexec/tnftpd: tnftpd.h

Log Message:
provide compat _DIAGASSERT()

define no-op _DIAGASSERT() in tnftpd.h, so that I can perform
less changes from "upstream" NetBSD when I merge code.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 othersrc/libexec/tnftpd/tnftpd.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: othersrc/libexec/tnftpd/tnftpd.h
diff -u othersrc/libexec/tnftpd/tnftpd.h:1.35 othersrc/libexec/tnftpd/tnftpd.h:1.36
--- othersrc/libexec/tnftpd/tnftpd.h:1.35	Thu Mar 21 05:44:37 2013
+++ othersrc/libexec/tnftpd/tnftpd.h	Wed Jan 23 07:00:21 2019
@@ -1,4 +1,4 @@
-/* $NetBSD: tnftpd.h,v 1.35 2013/03/21 05:44:37 lukem Exp $	*/
+/* $NetBSD: tnftpd.h,v 1.36 2019/01/23 07:00:21 lukem Exp $ */
 
 #define	FTPD_VERSION	PACKAGE_STRING
 
@@ -598,3 +598,10 @@ int	usleep(unsigned int);
  */
 #undef __dead
 #define __dead
+
+/*
+ * Compatibility for NetBSD <assert.h>
+ */
+#ifndef _DIAGASSERT
+#define _DIAGASSERT(a)
+#endif

Reply via email to