summaryrefslogtreecommitdiff
path: root/libgcompat/gnulib.c
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2018-01-14 18:28:35 -0600
committerSamuel Holland <samuel@sholland.org>2018-01-14 18:28:35 -0600
commitd40369b0e09e4e2228ebff305067ec2d99220848 (patch)
tree0839bc088f3f0b577e0badddab745fa9f3c94dd4 /libgcompat/gnulib.c
parent28748009c0dc553e2fe5e6253e7615cf89d2b7ef (diff)
downloadgcompat-d40369b0e09e4e2228ebff305067ec2d99220848.tar.gz
gcompat-d40369b0e09e4e2228ebff305067ec2d99220848.tar.bz2
gcompat-d40369b0e09e4e2228ebff305067ec2d99220848.tar.xz
gcompat-d40369b0e09e4e2228ebff305067ec2d99220848.zip
global: Format the code consistently
* Apply clang-format. * Change all comments to the same style. * Add braces as dictated by the coding style guidelines. Signed-off-by: Samuel Holland <samuel@sholland.org>
Diffstat (limited to 'libgcompat/gnulib.c')
-rw-r--r--libgcompat/gnulib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgcompat/gnulib.c b/libgcompat/gnulib.c
index 08544fc..e0ee953 100644
--- a/libgcompat/gnulib.c
+++ b/libgcompat/gnulib.c
@@ -4,5 +4,5 @@
unsigned long __fdelt_chk(unsigned long size)
{
assert(size < FD_SETSIZE);
- return size / (sizeof(unsigned long)<<3);
+ return size / (sizeof(unsigned long) << 3);
}