]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
Doc: fix invalid usage of doxygen @param command
authorChengwei Yang <chengwei.yang@intel.com>
Sat, 15 Jun 2013 07:42:19 +0000 (15:42 +0800)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Thu, 20 Jun 2013 12:15:22 +0000 (13:15 +0100)
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com>
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=65755

dbus/dbus-connection.c
dbus/dbus-shell.c
dbus/dbus-sysdeps-unix.c
dbus/dbus-sysdeps-util-unix.c

index 87cfeb038db93c9c123cefe6dc043b3a7aca8456..1bc033e8430c55f0c657bda7d7896045de9992c1 100644 (file)
@@ -2174,7 +2174,7 @@ _dbus_connection_close_if_only_one_ref (DBusConnection *connection)
  * relatively long time for memory, if they were only willing to block
  * briefly then we retry for memory at a rapid rate.
  *
- * @timeout_milliseconds the timeout requested for blocking
+ * @param timeout_milliseconds the timeout requested for blocking
  */
 static void
 _dbus_memory_pause_based_on_timeout (int timeout_milliseconds)
index 111d39dfed1ce02ccf9ab0dc205e4e8ed985c3a5..2384961c8e3fed0499c6b1db39c1060a05590e4f 100644 (file)
@@ -150,7 +150,7 @@ unquote_string_inplace (char* str, char** end)
  * through literally instead of being expanded). This function is
  * guaranteed to succeed if applied to the result of
  * _dbus_shell_quote(). If it fails, it returns %NULL.
- * The @quoted_string need not actually contain quoted or
+ * The @quoted_string need not actually contain quoted or
  * escaped text; _dbus_shell_unquote() simply goes through the string and
  * unquotes/unescapes anything that the shell would. Both single and
  * double quotes are handled, as are escapes including escaped
@@ -163,7 +163,7 @@ unquote_string_inplace (char* str, char** end)
  * be escaped with backslash. Otherwise double quotes preserve things
  * literally.
  *
- * @quoted_string: shell-quoted string
+ * @param quoted_string shell-quoted string
  **/
 char*
 _dbus_shell_unquote (const char *quoted_string)
@@ -544,10 +544,10 @@ tokenize_command_line (const char *command_line, DBusError *error)
  * does contain such expansions, they are passed through
  * literally. Free the returned vector with dbus_free_string_array().
  * 
- * @command_line: command line to parse
- * @argcp: return location for number of args
- * @argvp: return location for array of args
- * @error: error information
+ * @param command_line command line to parse
+ * @param argcp return location for number of args
+ * @param argvp return location for array of args
+ * @param error error information
  **/
 dbus_bool_t
 _dbus_shell_parse_argv (const char *command_line,
index 07b761b4686e63c151cdb35caa21ccc895f6fce0..4a586c721ab87d8231f903dc2634f9f3e3d4826e 100644 (file)
@@ -1153,7 +1153,7 @@ _dbus_listen_unix_socket (const char     *path,
  *
  * This will set FD_CLOEXEC for the sockets returned.
  *
- * @oaram fds the file descriptors
+ * @param fds the file descriptors
  * @param error return location for errors
  * @returns the number of file descriptors
  */
index 6265e2b5d5ad2c8c7a715cc3e975edfb225cfedf..6053265b6f69aeacdbd88dcaa5a1bcbcdda4ae5d 100644 (file)
@@ -381,13 +381,13 @@ _dbus_change_to_daemon_user  (const char    *user,
 
 /**
  * Attempt to ensure that the current process can open
- * at least @limit file descriptors.
+ * at least @limit file descriptors.
  *
- * If @limit is lower than the current, it will not be
+ * If @limit is lower than the current, it will not be
  * lowered.  No error is returned if the request can
  * not be satisfied.
  *
- * @limit Number of file descriptors
+ * @param limit number of file descriptors
  */
 void
 _dbus_request_file_descriptor_limit (unsigned int limit)