Module Name:    src
Committed By:   kefren
Date:           Wed Jun 22 04:57:28 UTC 2011

Modified Files:
        src/sbin/route: route.c

Log Message:
don't compile tag functions if SMALL is defined. Should fix the build


To generate a diff of this commit:
cvs rdiff -u -r1.129 -r1.130 src/sbin/route/route.c

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

Modified files:

Index: src/sbin/route/route.c
diff -u src/sbin/route/route.c:1.129 src/sbin/route/route.c:1.130
--- src/sbin/route/route.c:1.129	Tue Jun 21 14:33:14 2011
+++ src/sbin/route/route.c	Wed Jun 22 04:57:28 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: route.c,v 1.129 2011/06/21 14:33:14 kefren Exp $	*/
+/*	$NetBSD: route.c,v 1.130 2011/06/22 04:57:28 kefren Exp $	*/
 
 /*
  * Copyright (c) 1983, 1989, 1991, 1993
@@ -39,7 +39,7 @@
 #if 0
 static char sccsid[] = "@(#)route.c	8.6 (Berkeley) 4/28/95";
 #else
-__RCSID("$NetBSD: route.c,v 1.129 2011/06/21 14:33:14 kefren Exp $");
+__RCSID("$NetBSD: route.c,v 1.130 2011/06/22 04:57:28 kefren Exp $");
 #endif
 #endif /* not lint */
 
@@ -1384,6 +1384,7 @@
 	/*NOTREACHED*/
 }
 
+#ifndef SMALL
 static sup
 readtag(sup su, const char *s)
 {
@@ -1433,6 +1434,7 @@
 	ms[where].shim.label = atoi(s);
 	ms[where].s_addr = htonl(ms[where].s_addr);
 }
+#endif	/* SMALL */
 
 int
 prefixlen(const char *s, struct sou *soup)

Reply via email to