[111250] trunk/base/src/cregistry

toby at macports.org toby at macports.org
Tue Sep 17 15:57:07 PDT 2013


Revision: 111250
          https://trac.macports.org/changeset/111250
Author:   toby at macports.org
Date:     2013-09-17 15:57:07 -0700 (Tue, 17 Sep 2013)
Log Message:
-----------
fix -Wdocumentation warnings

Modified Paths:
--------------
    trunk/base/src/cregistry/file.c
    trunk/base/src/cregistry/util.c
    trunk/base/src/cregistry/vercomp.c

Modified: trunk/base/src/cregistry/file.c
===================================================================
--- trunk/base/src/cregistry/file.c	2013-09-17 22:56:38 UTC (rev 111249)
+++ trunk/base/src/cregistry/file.c	2013-09-17 22:57:07 UTC (rev 111250)
@@ -97,7 +97,7 @@
  *
  * @param [in] reg      registry to open entry in
  * @param [in] id       port id in the dabatase
- * @param [in] path     file path in the database
+ * @param [in] name     file path in the database
  * @param [out] errPtr  on error, a description of the error that occures
  * @return              the file if success, NULL if failure
  */

Modified: trunk/base/src/cregistry/util.c
===================================================================
--- trunk/base/src/cregistry/util.c	2013-09-17 22:56:38 UTC (rev 111249)
+++ trunk/base/src/cregistry/util.c	2013-09-17 22:57:07 UTC (rev 111250)
@@ -123,7 +123,7 @@
  * @param [in] query_len length of the query (or -1 for automatic)
  * @param [out] objects  the objects selected
  * @param [in] fn        a function to convert sqlite3_stmts to the desired type
- * @param [inout] data   data passed along to the cast function
+ * @param [in,out] castcalldata data passed along to the cast function
  * @param [in] del       a function to delete the desired type of object
  * @param [out] errPtr   on error, a description of the error that occurred
  * @return               the number of objects if success; negative if failure

Modified: trunk/base/src/cregistry/vercomp.c
===================================================================
--- trunk/base/src/cregistry/vercomp.c	2013-09-17 22:56:38 UTC (rev 111249)
+++ trunk/base/src/cregistry/vercomp.c	2013-09-17 22:57:07 UTC (rev 111250)
@@ -55,7 +55,7 @@
  * @param [in] versionA first version string, i.e. "1.4.1"
  * @param [in] lengthA  length of first version string, or -1 to use strlen
  * @param [in] versionB second version string, i.e. "1.4.2"
- * @param [in] lengthA  length of second version string, or -1 to use strlen
+ * @param [in] lengthB  length of second version string, or -1 to use strlen
  * @return              -1 if A < B; 0 if A = B; 1 if A > B
  */
 static int vercmp (const char *versionA, int lengthA, const char *versionB,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130917/f2b8dae7/attachment.html>


More information about the macports-changes mailing list