X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=glib%2Fgchecksum.c;h=9107e78b5e178861bddc00317d1b5ae0ef878220;hb=49a5d0f6f2aed99cd78f25655f137f4448e47d92;hp=f5e9ba88337aeda6b98506ac0a0479d4fb3ee621;hpb=bf1e63c2aaa0ff3dad75a006576ba8b5daac6559;p=platform%2Fupstream%2Fglib.git diff --git a/glib/gchecksum.c b/glib/gchecksum.c index f5e9ba8..9107e78 100644 --- a/glib/gchecksum.c +++ b/glib/gchecksum.c @@ -13,9 +13,7 @@ * Library General Public License for more details. * * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. + * License along with this library; if not, see . */ #include "config.h" @@ -235,7 +233,7 @@ static void md5_transform (guint32 buf[4], guint32 const in[16]) { - register guint32 a, b, c, d; + guint32 a, b, c, d; /* The four core functions - F1 is optimized somewhat */ #define F1(x, y, z) (z ^ (x & (y ^ z))) @@ -1374,7 +1372,7 @@ sha512_sum_digest (Sha512sum *sha512, * * Gets the length in bytes of digests of type @checksum_type * - * Return value: the checksum length, or -1 if @checksum_type is + * Returns: the checksum length, or -1 if @checksum_type is * not supported. * * Since: 2.16 @@ -1424,7 +1422,7 @@ g_checksum_type_get_length (GChecksumType checksum_type) * will be closed and it won't be possible to call g_checksum_update() * on it anymore. * - * Return value: (transfer full): the newly created #GChecksum, or %NULL. + * Returns: (transfer full): the newly created #GChecksum, or %NULL. * Use g_checksum_free() to free the memory allocated by it. * * Since: 2.16 @@ -1489,7 +1487,7 @@ g_checksum_reset (GChecksum *checksum) * g_checksum_get_string() or g_checksum_get_digest(), the copied * checksum will be closed as well. * - * Return value: the copy of the passed #GChecksum. Use g_checksum_free() + * Returns: the copy of the passed #GChecksum. Use g_checksum_free() * when finished using it. * * Since: 2.16 @@ -1553,7 +1551,7 @@ g_checksum_update (GChecksum *checksum, if (checksum->digest_str) { - g_warning ("The checksum `%s' has been closed and cannot be updated " + g_warning ("The checksum '%s' has been closed and cannot be updated " "anymore.", checksum->digest_str); return; @@ -1590,7 +1588,7 @@ g_checksum_update (GChecksum *checksum, * * The hexadecimal characters will be lower case. * - * Return value: the hexadecimal representation of the checksum. The + * Returns: the hexadecimal representation of the checksum. The * returned string is owned by the checksum and should not be modified * or freed. * @@ -1722,7 +1720,7 @@ g_checksum_get_digest (GChecksum *checksum, * * The hexadecimal string returned will be in lower case. * - * Return value: the digest of the binary data as a string in hexadecimal. + * Returns: the digest of the binary data as a string in hexadecimal. * The returned string should be freed with g_free() when done using it. * * Since: 2.16 @@ -1759,7 +1757,7 @@ g_compute_checksum_for_data (GChecksumType checksum_type, * * The hexadecimal string returned will be in lower case. * - * Return value: the checksum as a hexadecimal string. The returned string + * Returns: the checksum as a hexadecimal string. The returned string * should be freed with g_free() when done using it. * * Since: 2.16 @@ -1789,7 +1787,7 @@ g_compute_checksum_for_string (GChecksumType checksum_type, * * The hexadecimal string returned will be in lower case. * - * Return value: the digest of the binary data as a string in hexadecimal. + * Returns: the digest of the binary data as a string in hexadecimal. * The returned string should be freed with g_free() when done using it. * * Since: 2.34