rewrote c++ style comments to c style coments mentioned by Miklos Szeredi
authorJoachim Schiele <joachim.schiele@daimler.com>
Tue, 2 Jul 2013 15:37:29 +0000 (17:37 +0200)
committerJoachim Schiele <joachim.schiele@daimler.com>
Tue, 2 Jul 2013 15:37:38 +0000 (17:37 +0200)
example/hello.c
example/hello_ll.c
lib/fuse_lowlevel.c [changed mode: 0644->0755]
lib/fuse_signals.c [changed mode: 0644->0755]

index c8b4a48631e2fd3529a99a1ecafc96d0dbe593a8..580bff2a2b1ff5780e6fdd3a5a6bed8b2d77b3d8 100755 (executable)
@@ -10,7 +10,7 @@
  *
  * hello.c - minimal FUSE example featuring fuse_main usage
  *
-* \section section_compile compiling this example
+ * \section section_compile compiling this example
  *
  * gcc -Wall hello.c `pkg-config fuse --cflags --libs` -o hello
  *
index 687c6f110ce7c7f7e0b5017adfef21f94aa1812b..06c881b3b60afd63fcf6ad3dcd49fb9106d3051c 100755 (executable)
@@ -180,7 +180,7 @@ static struct fuse_lowlevel_ops hello_ll_oper = {
        .read           = hello_ll_read,
 };
 
-//! [doxygen_fuse_lowlevel_usage]
+/*! [doxygen_fuse_lowlevel_usage] */
 int main(int argc, char *argv[])
 {
        struct fuse_args args = FUSE_ARGS_INIT(argc, argv);
@@ -197,7 +197,7 @@ int main(int argc, char *argv[])
                        if (fuse_set_signal_handlers(se) != -1) {
                                fuse_session_add_chan(se, ch);
                                
-                               // fuse_session_loop(..) blocks until ctrl+c or fusermount -u
+                               /* fuse_session_loop(..) blocks until ctrl+c or fusermount -u */
                                err = fuse_session_loop(se); 
                                
                                fuse_remove_signal_handlers(se);
@@ -211,4 +211,4 @@ int main(int argc, char *argv[])
 
        return err ? 1 : 0;
 }
-//! [doxygen_fuse_lowlevel_usage]
+/*! [doxygen_fuse_lowlevel_usage] */
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
index cab9951..8cdc17d
 
 static struct fuse_session *fuse_instance;
 
-//! [doxygen_exit_handler]
+/*! [doxygen_exit_handler] */
 static void exit_handler(int sig)
 {
        (void) sig;
        if (fuse_instance)
                fuse_session_exit(fuse_instance);
 }
-//! [doxygen_exit_handler]
+/*! [doxygen_exit_handler] */
 
 static int set_one_signal_handler(int sig, void (*handler)(int))
 {