diff options
author | Matt Kraai <mkraai@beckman.com> | 2010-01-05 09:40:26 -0800 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2010-02-02 07:18:16 +0100 |
commit | 2cb2d5317f8428b5eaef2365c815aa34739a80b5 (patch) | |
tree | 5a5b7f9cdc132928d1723db4f36e9224962df448 /lib/talloc | |
parent | d4fc2e82012277e5e8570da5d08d62c6847a99c0 (diff) | |
download | samba-2cb2d5317f8428b5eaef2365c815aa34739a80b5.tar.gz samba-2cb2d5317f8428b5eaef2365c815aa34739a80b5.tar.bz2 samba-2cb2d5317f8428b5eaef2365c815aa34739a80b5.zip |
Change uint_t to unsigned int in lib/talloc
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'lib/talloc')
-rw-r--r-- | lib/talloc/talloc.3.xml | 6 | ||||
-rw-r--r-- | lib/talloc/talloc_guide.txt | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/lib/talloc/talloc.3.xml b/lib/talloc/talloc.3.xml index 8d9e08226d..cc36f60aa5 100644 --- a/lib/talloc/talloc.3.xml +++ b/lib/talloc/talloc.3.xml @@ -689,7 +689,7 @@ if (ptr) memcpy(ptr, p, strlen(p)+1);</programlisting> </para> <programlisting>talloc_set_name_const(ptr, ptr)</programlisting> </refsect2> - <refsect2><title>(type *)talloc_array(const void *ctx, type, uint_t count);</title> + <refsect2><title>(type *)talloc_array(const void *ctx, type, unsigned int count);</title> <para> The talloc_array() macro is equivalent to: </para> @@ -699,14 +699,14 @@ if (ptr) memcpy(ptr, p, strlen(p)+1);</programlisting> multiply, returning NULL if the multiply overflows. </para> </refsect2> - <refsect2><title>void *talloc_array_size(const void *ctx, size_t size, uint_t count);</title> + <refsect2><title>void *talloc_array_size(const void *ctx, size_t size, unsigned int count);</title> <para> The talloc_array_size() function is useful when the type is not known. It operates in the same way as talloc_array(), but takes a size instead of a type. </para> </refsect2> - <refsect2><title>(typeof(ptr)) talloc_array_ptrtype(const void *ctx, ptr, uint_t count);</title> + <refsect2><title>(typeof(ptr)) talloc_array_ptrtype(const void *ctx, ptr, unsigned int count);</title> <para> The talloc_ptrtype() macro should be used when you have a pointer to an array and want to allocate memory of an array to point at with this pointer. When compiling diff --git a/lib/talloc/talloc_guide.txt b/lib/talloc/talloc_guide.txt index 01de806662..79387bfd46 100644 --- a/lib/talloc/talloc_guide.txt +++ b/lib/talloc/talloc_guide.txt @@ -652,7 +652,7 @@ string. This is equivalent to:: =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -((type *)talloc_array(const void *ctx, type, uint_t count); +((type *)talloc_array(const void *ctx, type, unsigned int count); The talloc_array() macro is equivalent to:: @@ -663,14 +663,14 @@ returning NULL if the multiply overflows. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -void *talloc_array_size(const void *ctx, size_t size, uint_t count); +void *talloc_array_size(const void *ctx, size_t size, unsigned int count); The talloc_array_size() function is useful when the type is not known. It operates in the same way as talloc_array(), but takes a size instead of a type. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -(typeof(ptr)) talloc_array_ptrtype(const void *ctx, ptr, uint_t count); +(typeof(ptr)) talloc_array_ptrtype(const void *ctx, ptr, unsigned int count); The talloc_ptrtype() macro should be used when you have a pointer to an array and want to allocate memory of an array to point at with this pointer. When compiling |