Permalink
Browse files

Tabbing cleanups for poll helper functions.

  • Loading branch information...
1 parent 59be515 commit 183c519525a69d201c83b8c0d74d7518dcb7315d @demonfoo demonfoo committed Apr 4, 2012
Showing with 17 additions and 17 deletions.
  1. +17 −17 Fuse.xs
View
34 Fuse.xs
@@ -1794,27 +1794,27 @@ pollhandle_destroy(...)
PREINIT:
struct fuse_pollhandle *ph;
INIT:
- if (items != 1) {
- fprintf(stderr, "No pollhandle passed?\n");
- XSRETURN_UNDEF;
- }
- CODE:
- ph = INT2PTR(struct fuse_pollhandle*, SvIV(ST(0)));
- fuse_pollhandle_destroy(ph);
+ if (items != 1) {
+ fprintf(stderr, "No pollhandle passed?\n");
+ XSRETURN_UNDEF;
+ }
+ CODE:
+ ph = INT2PTR(struct fuse_pollhandle*, SvIV(ST(0)));
+ fuse_pollhandle_destroy(ph);
int
notify_poll(...)
PREINIT:
- struct fuse_pollhandle *ph;
+ struct fuse_pollhandle *ph;
INIT:
- if (items != 1) {
- fprintf(stderr, "No pollhandle passed?\n");
- XSRETURN_UNDEF;
- }
- CODE:
- ph = INT2PTR(struct fuse_pollhandle*, SvIV(ST(0)));
- RETVAL = fuse_notify_poll(ph);
- OUTPUT:
- RETVAL
+ if (items != 1) {
+ fprintf(stderr, "No pollhandle passed?\n");
+ XSRETURN_UNDEF;
+ }
+ CODE:
+ ph = INT2PTR(struct fuse_pollhandle*, SvIV(ST(0)));
+ RETVAL = fuse_notify_poll(ph);
+ OUTPUT:
+ RETVAL
#endif

0 comments on commit 183c519

Please sign in to comment.