summaryrefslogtreecommitdiff
path: root/libnetfs
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2013-11-08 11:26:42 +0100
committerJustus Winter <4winter@informatik.uni-hamburg.de>2013-11-09 14:47:24 +0100
commit057c04d1157322c235872e412bcc22487858c5af (patch)
tree1a08d7929b21859985ece910175e72a82fe258c7 /libnetfs
parent218cae5a714342b5d82a5b004d58f0a9ebbbfe5e (diff)
Normalize whitespace at the end of each file to '\n'
Some files were not normalized. In console/motd.UTF8 the additional newline is intentional. Empty files were excluded as well.
Diffstat (limited to 'libnetfs')
-rw-r--r--libnetfs/demuxer.c1
-rw-r--r--libnetfs/dir-link.c2
-rw-r--r--libnetfs/dir-mkfile.c1
-rw-r--r--libnetfs/dir-rename.c1
-rw-r--r--libnetfs/drop-node.c2
-rw-r--r--libnetfs/file-chauthor.c1
-rw-r--r--libnetfs/file-getlinknode.c2
-rw-r--r--libnetfs/file-set-size.c1
-rw-r--r--libnetfs/init-loop.c1
-rw-r--r--libnetfs/io-get-icky-async-id.c1
-rw-r--r--libnetfs/io-seek.c1
-rw-r--r--libnetfs/io-stat.c1
-rw-r--r--libnetfs/io-write.c2
-rw-r--r--libnetfs/make-peropen.c1
-rw-r--r--libnetfs/modes.h1
-rw-r--r--libnetfs/mutations.h1
-rw-r--r--libnetfs/nput.c1
17 files changed, 0 insertions, 21 deletions
diff --git a/libnetfs/demuxer.c b/libnetfs/demuxer.c
index 6b4f727f..8b6d1b2f 100644
--- a/libnetfs/demuxer.c
+++ b/libnetfs/demuxer.c
@@ -36,4 +36,3 @@ netfs_demuxer (mach_msg_header_t *inp,
|| ports_interrupt_server (inp, outp)
|| netfs_ifsock_server (inp, outp));
}
-
diff --git a/libnetfs/dir-link.c b/libnetfs/dir-link.c
index 1c31b8f9..637f4a3a 100644
--- a/libnetfs/dir-link.c
+++ b/libnetfs/dir-link.c
@@ -40,5 +40,3 @@ netfs_S_dir_link (struct protid *diruser, struct protid *fileuser, char *name,
mach_port_deallocate (mach_task_self (), fileuser->pi.port_right);
return err;
}
-
-
diff --git a/libnetfs/dir-mkfile.c b/libnetfs/dir-mkfile.c
index 9e5847af..fcbc9da8 100644
--- a/libnetfs/dir-mkfile.c
+++ b/libnetfs/dir-mkfile.c
@@ -61,4 +61,3 @@ netfs_S_dir_mkfile (struct protid *diruser, int flags, mode_t mode,
return err;
}
-
diff --git a/libnetfs/dir-rename.c b/libnetfs/dir-rename.c
index 0215376b..21362194 100644
--- a/libnetfs/dir-rename.c
+++ b/libnetfs/dir-rename.c
@@ -40,4 +40,3 @@ netfs_S_dir_rename (struct protid *fromdiruser, char *fromname,
mach_port_deallocate (mach_task_self (), todiruser->pi.port_right);
return err;
}
-
diff --git a/libnetfs/drop-node.c b/libnetfs/drop-node.c
index 5460149a..2fe5ce9f 100644
--- a/libnetfs/drop-node.c
+++ b/libnetfs/drop-node.c
@@ -27,5 +27,3 @@ netfs_drop_node (struct node *np)
netfs_node_norefs (np);
pthread_spin_unlock (&netfs_node_refcnt_lock);
}
-
-
diff --git a/libnetfs/file-chauthor.c b/libnetfs/file-chauthor.c
index 4f0aad0b..7041b2b8 100644
--- a/libnetfs/file-chauthor.c
+++ b/libnetfs/file-chauthor.c
@@ -35,4 +35,3 @@ netfs_S_file_chauthor (struct protid *user,
pthread_mutex_unlock (&user->po->np->lock);
return err;
}
-
diff --git a/libnetfs/file-getlinknode.c b/libnetfs/file-getlinknode.c
index 9503d1d1..a15c8d5f 100644
--- a/libnetfs/file-getlinknode.c
+++ b/libnetfs/file-getlinknode.c
@@ -36,5 +36,3 @@ netfs_S_file_getlinknode (struct protid *user,
*porttype = MACH_MSG_TYPE_MAKE_SEND;
return 0;
}
-
-
diff --git a/libnetfs/file-set-size.c b/libnetfs/file-set-size.c
index b4a8cd23..1700ee18 100644
--- a/libnetfs/file-set-size.c
+++ b/libnetfs/file-set-size.c
@@ -37,4 +37,3 @@ netfs_S_file_set_size (struct protid *user,
pthread_mutex_unlock (&user->po->np->lock);
return err;
}
-
diff --git a/libnetfs/init-loop.c b/libnetfs/init-loop.c
index 08bdcd18..61471c2f 100644
--- a/libnetfs/init-loop.c
+++ b/libnetfs/init-loop.c
@@ -41,4 +41,3 @@ netfs_server_loop ()
exit (0);
}
-
diff --git a/libnetfs/io-get-icky-async-id.c b/libnetfs/io-get-icky-async-id.c
index 49cae5eb..23dac534 100644
--- a/libnetfs/io-get-icky-async-id.c
+++ b/libnetfs/io-get-icky-async-id.c
@@ -27,4 +27,3 @@ netfs_S_io_get_icky_async_id (struct protid *user, mach_port_t *pt,
{
return EOPNOTSUPP;
}
-
diff --git a/libnetfs/io-seek.c b/libnetfs/io-seek.c
index cd2b3e4b..1dc7d322 100644
--- a/libnetfs/io-seek.c
+++ b/libnetfs/io-seek.c
@@ -65,4 +65,3 @@ netfs_S_io_seek (struct protid *user,
return err;
}
-
diff --git a/libnetfs/io-stat.c b/libnetfs/io-stat.c
index cf2c25b3..81e42bdb 100644
--- a/libnetfs/io-stat.c
+++ b/libnetfs/io-stat.c
@@ -51,4 +51,3 @@ netfs_S_io_stat (struct protid *user, io_statbuf_t *statbuf)
return err;
}
-
diff --git a/libnetfs/io-write.c b/libnetfs/io-write.c
index 98c2a306..19bcf09c 100644
--- a/libnetfs/io-write.c
+++ b/libnetfs/io-write.c
@@ -66,5 +66,3 @@ netfs_S_io_write (struct protid *user,
return err;
}
-
-
diff --git a/libnetfs/make-peropen.c b/libnetfs/make-peropen.c
index 7f2df053..f7be58b1 100644
--- a/libnetfs/make-peropen.c
+++ b/libnetfs/make-peropen.c
@@ -66,4 +66,3 @@ netfs_make_peropen (struct node *np, int flags, struct peropen *context)
return po;
}
-
diff --git a/libnetfs/modes.h b/libnetfs/modes.h
index 53125f68..e5f52ed1 100644
--- a/libnetfs/modes.h
+++ b/libnetfs/modes.h
@@ -20,4 +20,3 @@
#include <fcntl.h>
#define HONORED_STATE_MODES (O_APPEND|O_ASYNC|O_FSYNC|O_NONBLOCK|O_NOATIME)
-
diff --git a/libnetfs/mutations.h b/libnetfs/mutations.h
index 003bbe21..e6700f54 100644
--- a/libnetfs/mutations.h
+++ b/libnetfs/mutations.h
@@ -32,4 +32,3 @@
#define IO_IMPORTS import "netfs.h"; import "priv.h";
#define FSYS_IMPORTS import "netfs.h"; import "priv.h";
#define IFSOCK_IMPORTS import "netfs.h"; import "priv.h";
-
diff --git a/libnetfs/nput.c b/libnetfs/nput.c
index 611b37a0..522c714a 100644
--- a/libnetfs/nput.c
+++ b/libnetfs/nput.c
@@ -35,4 +35,3 @@ netfs_nput (struct node *np)
pthread_mutex_unlock (&np->lock);
}
}
-