From: Joachim Schiele Date: Tue, 2 Jul 2013 15:37:29 +0000 (+0200) Subject: rewrote c++ style comments to c style coments mentioned by Miklos Szeredi X-Git-Tag: fuse-3.0.0pre0~110^2 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f4f87bba1266e6135e300ac6853efb9708aabce9;p=qemu-gpiodev%2Flibfuse.git rewrote c++ style comments to c style coments mentioned by Miklos Szeredi --- diff --git a/example/hello.c b/example/hello.c index c8b4a48..580bff2 100755 --- a/example/hello.c +++ b/example/hello.c @@ -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 * diff --git a/example/hello_ll.c b/example/hello_ll.c index 687c6f1..06c881b 100755 --- a/example/hello_ll.c +++ b/example/hello_ll.c @@ -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] */ diff --git a/lib/fuse_lowlevel.c b/lib/fuse_lowlevel.c old mode 100644 new mode 100755 diff --git a/lib/fuse_signals.c b/lib/fuse_signals.c old mode 100644 new mode 100755 index cab9951..8cdc17d --- a/lib/fuse_signals.c +++ b/lib/fuse_signals.c @@ -14,14 +14,14 @@ 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)) {