diff options
author | Niels de Vos <ndevos@redhat.com> | 2014-07-30 15:19:38 +0200 |
---|---|---|
committer | Niels de Vos <ndevos@redhat.com> | 2014-07-30 08:28:04 -0700 |
commit | 60f2e231bbf4daef11793710bb69bdfbcfca89a1 (patch) | |
tree | ee183cbdb9d9ca624914b63730ba8f26a98886eb | |
parent | e8a1fc34ad3891e8b739278a909dbd91c56b9f4e (diff) |
build: fix compile issue in unittest on EPEL-5
When building the current master branch on EPEL-5, the following error
is observed:
CC dht_layout_unittest-dht_layout_mock.o
unittest/dht_layout_mock.c:77:2: error: no newline at end of file
make[5]: *** [dht_layout_unittest-dht_layout_mock.o] Error 1
make[5]: *** Waiting for unfinished jobs....
EPEL-5 has this gcc:
$ gcc --version
gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-54)
The fix is simple enough, dht_layout_unittest-dht_layout_mock.c should
have a line ending.
BUG: 1124858
Change-Id: I8ca7a1699fd1c35694073b9577f94ae525854713
Signed-off-by: Niels de Vos <ndevos@redhat.com>
Reviewed-on: http://review.gluster.org/8392
Reviewed-by: Lalatendu Mohanty <lmohanty@redhat.com>
Reviewed-by: Humble Devassy Chirammal <humble.devassy@gmail.com>
Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Luis Pabon <lpabon@redhat.com>
-rw-r--r-- | xlators/cluster/dht/src/unittest/dht_layout_mock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/dht/src/unittest/dht_layout_mock.c b/xlators/cluster/dht/src/unittest/dht_layout_mock.c index 07c1e3249a8..a5c6357a3da 100644 --- a/xlators/cluster/dht/src/unittest/dht_layout_mock.c +++ b/xlators/cluster/dht/src/unittest/dht_layout_mock.c @@ -74,4 +74,4 @@ _gf_msg (const char *domain, const char *file, const char *function, uint64_t msgid, const char *fmt, ...) { return 0; -}
\ No newline at end of file +} |