This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

soft-fp: Remove trailing semicolon from _FP_FRAC_DISASSEMBLE_4


The Linux kernel has a fix for a stray trailing semicolon in the
soft-fp macro _FP_FRAC_DISASSEMBLE_4.  I've committed as obvious this
patch bringing it over to glibc.  (Since this fix predates the git
era, I haven't attempted to identify its original author.)

2013-10-09  Joseph Myers  <joseph@codesourcery.com>

	* soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
	semicolon.  From Linux kernel.

diff --git a/soft-fp/op-4.h b/soft-fp/op-4.h
index f16870d..7fccbd5 100644
--- a/soft-fp/op-4.h
+++ b/soft-fp/op-4.h
@@ -683,7 +683,7 @@ do {						\
     X##_f[1] = (rsize <= _FP_W_TYPE_SIZE ? 0 : r >> _FP_W_TYPE_SIZE);	\
     X##_f[2] = (rsize <= 2*_FP_W_TYPE_SIZE ? 0 : r >> 2*_FP_W_TYPE_SIZE); \
     X##_f[3] = (rsize <= 3*_FP_W_TYPE_SIZE ? 0 : r >> 3*_FP_W_TYPE_SIZE); \
-  } while (0);
+  } while (0)
 
 #define _FP_FRAC_COPY_4_1(D, S)			\
 do {						\

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]