]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: fix the librados c api can not compile problem 9396/head
authorsongbaisen <song.baisen@zte.com.cn>
Mon, 30 May 2016 11:32:57 +0000 (19:32 +0800)
committersongbaisen <song.baisen@zte.com.cn>
Mon, 30 May 2016 11:32:57 +0000 (19:32 +0800)
Signed-off-by:song baisen <song.baisen@zte.com.cn>

doc/rados/api/librados-intro.rst

index ba68550163be13e11df17c9c8036a546909b69f1..7337ef2b4720e6964ff788cd1d358db547f48bfb 100644 (file)
@@ -579,8 +579,9 @@ C Example
        #include <stdio.h>
        #include <string.h>
        #include <rados/librados.h>
+       #include <stdlib.h>
 
-       int main (int argc, const char argv**
+       int main (int argc, const char **argv
        {
                /* 
                 * Continued from previous C example, where cluster handle and