Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Mar 2002 11:25:36 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 8452 for review
Message-ID:  <200203261925.g2QJPat47625@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=8452

Change 8452 by jhb@jhb_laptop on 2002/03/26 11:24:50

	Simplify a __FreeBSD__ check.

Affected files ...

... //depot/projects/smpng/sys/dev/cnw/if_cnw.c#6 edit

Differences ...

==== //depot/projects/smpng/sys/dev/cnw/if_cnw.c#6 (text+ko) ====

@@ -1239,7 +1239,7 @@
 #endif
 	struct ifreq *ifr = (struct ifreq *)data;
 	int s, error = 0;
-#if defined(__FreeBSD__) && __FreeBSD__ >= 5
+#if __FreeBSD__ >= 5
 	struct thread *td = curthread;	/* XXX */
 #else
 	struct proc *p = curproc;	/*XXX*/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203261925.g2QJPat47625>