Change uint_t to unsigned int in lib/talloc
authorMatt Kraai <mkraai@beckman.com>
Tue, 5 Jan 2010 17:40:26 +0000 (09:40 -0800)
committerStefan Metzmacher <metze@samba.org>
Tue, 2 Feb 2010 06:18:16 +0000 (07:18 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
lib/talloc/talloc.3.xml
lib/talloc/talloc_guide.txt

index 8d9e08226d449f6097d435a3fc76af3b00a1d611..cc36f60aa566180a6ca7301d2e23dcfbf4b168a0 100644 (file)
@@ -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
index 01de806662d119dfc7804000f1f5b0e2a9c6f02f..79387bfd46e5080f5a730bab7e5e8ab99e25ce66 100644 (file)
@@ -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