diff options
author | Bill Meier <wmeier@newsguy.com> | 2011-09-21 18:55:03 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2011-09-21 18:55:03 +0000 |
commit | e6bd9d1a8c3b691f342bf7bc9b3ea668ec6a7a16 (patch) | |
tree | bd474d2582e88cf6746a2e8d85f5d11f8b58dedd /epan/nstime.c | |
parent | 781129806f9fba24eda48ff64dc75cb33b2bb1ef (diff) | |
download | wireshark-e6bd9d1a8c3b691f342bf7bc9b3ea668ec6a7a16.tar.gz wireshark-e6bd9d1a8c3b691f342bf7bc9b3ea668ec6a7a16.tar.bz2 wireshark-e6bd9d1a8c3b691f342bf7bc9b3ea668ec6a7a16.zip |
Whitespace cleanup:
Use consistent indentation;
Convert "4 space tabs" to spaces;
Remove trailing whitespace.
svn path=/trunk/; revision=39082
Diffstat (limited to 'epan/nstime.c')
-rw-r--r-- | epan/nstime.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/epan/nstime.c b/epan/nstime.c index 490f0c35ae..3d05c575ba 100644 --- a/epan/nstime.c +++ b/epan/nstime.c @@ -36,18 +36,18 @@ /* set the given nstime_t to zero */ void nstime_set_zero(nstime_t *nstime) { - nstime->secs = 0; - nstime->nsecs = 0; + nstime->secs = 0; + nstime->nsecs = 0; } /* is the given nstime_t currently zero? */ gboolean nstime_is_zero(nstime_t *nstime) { - if(nstime->secs == 0 && nstime->nsecs == 0) { - return TRUE; - } else { - return FALSE; - } + if(nstime->secs == 0 && nstime->nsecs == 0) { + return TRUE; + } else { + return FALSE; + } } /* set the given nstime_t to (0,maxint) to mark it as "unset" @@ -56,18 +56,18 @@ gboolean nstime_is_zero(nstime_t *nstime) */ void nstime_set_unset(nstime_t *nstime) { - nstime->secs = 0; - nstime->nsecs = G_MAXINT; + nstime->secs = 0; + nstime->nsecs = G_MAXINT; } /* is the given nstime_t currently (0,maxint)? */ gboolean nstime_is_unset(nstime_t *nstime) { - if(nstime->secs == 0 && nstime->nsecs == G_MAXINT) { - return TRUE; - } else { - return FALSE; - } + if(nstime->secs == 0 && nstime->nsecs == G_MAXINT) { + return TRUE; + } else { + return FALSE; + } } @@ -77,8 +77,8 @@ gboolean nstime_is_unset(nstime_t *nstime) */ void nstime_copy(nstime_t *a, const nstime_t *b) { - a->secs = b->secs; - a->nsecs = b->nsecs; + a->secs = b->secs; + a->nsecs = b->nsecs; } /* |