[dahdi-commits] fjoe: freebsd/trunk r8865 - /freebsd/trunk/drivers/dahdi/dahdi_transcode.c
SVN commits to the DAHDI project
dahdi-commits at lists.digium.com
Thu Jul 8 08:05:14 CDT 2010
Author: fjoe
Date: Thu Jul 8 08:05:10 2010
New Revision: 8865
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=8865
Log:
Add #ifdef comments.
> Description of fields to fill in above: 76 columns --|
> PR: If a GNATS PR is affected by the change.
> Submitted by: If someone else sent in the change.
> Reviewed by: If someone else reviewed your modification.
> Approved by: If you needed approval for this commit.
> Obtained from: If the change is from a third party.
> MFC after: N [day[s]|week[s]|month[s]]. Request a reminder email.
> Security: Vulnerability reference (one per line) or description.
> Empty fields above will be automatically removed.
M dahdi_transcode.c
Modified:
freebsd/trunk/drivers/dahdi/dahdi_transcode.c
Modified: freebsd/trunk/drivers/dahdi/dahdi_transcode.c
URL: http://svnview.digium.com/svn/dahdi/freebsd/trunk/drivers/dahdi/dahdi_transcode.c?view=diff&rev=8865&r1=8864&r2=8865
==============================================================================
--- freebsd/trunk/drivers/dahdi/dahdi_transcode.c (original)
+++ freebsd/trunk/drivers/dahdi/dahdi_transcode.c Thu Jul 8 08:05:10 2010
@@ -175,7 +175,7 @@
* responsible for taking a reference out on this module before
* calling this function. */
module_put(original_fops->owner);
-#endif
+#endif /* !__FreeBSD__ */
return 0;
}
@@ -308,7 +308,7 @@
module_put(file->f_op->owner);
file->f_op = &chan->parent->fops;
}
-#endif
+#endif /* !__FreeBSD__ */
if (file->f_flags & O_NONBLOCK) {
dahdi_tc_set_nonblock(chan);
@@ -363,7 +363,7 @@
#if defined(__FreeBSD__)
if (chan->parent->fops.write)
return chan->parent->fops.write(FOP_WRITE_ARGS);
-#endif
+#endif /* __FreeBSD__ */
/* file->private_data will not be NULL if DAHDI_TC_ALLOCATE was
* called, and therefore indicates that the transcoder driver
* did not export a read function. */
@@ -384,7 +384,7 @@
#if defined(__FreeBSD__)
if (chan->parent->fops.read)
return chan->parent->fops.read(FOP_READ_ARGS);
-#endif
+#endif /* __FreeBSD__ */
/* file->private_data will not be NULL if DAHDI_TC_ALLOCATE was
* called, and therefore indicates that the transcoder driver
* did not export a write function. */
@@ -507,7 +507,7 @@
SYSCTL_NODE(_dahdi, OID_AUTO, transcode, CTLFLAG_RW, 0, "DAHDI Transcoder Support");
#define MODULE_PARAM_PREFIX "dahdi.transcode"
#define MODULE_PARAM_PARENT _dahdi_transcode
-#endif
+#endif /* __FreeBSD__ */
module_param(debug, int, S_IRUGO | S_IWUSR);
@@ -541,4 +541,4 @@
module_init(dahdi_transcode_init);
module_exit(dahdi_transcode_cleanup);
-#endif
+#endif /* !__FreeBSD__ */
More information about the dahdi-commits
mailing list