OSDN Git Service

gobex: Fix a compilation error for the compatibility with LLVM
authorMiao-chen Chou <mcchou@chromium.org>
Sat, 3 Dec 2016 02:06:12 +0000 (18:06 -0800)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 7 Dec 2016 14:03:58 +0000 (16:03 +0200)
commit4832ed033973018a8f87f156fb8f33c8f80a5904
treeafceab5dbef7ea5625d5c1a69ef77fb4a36bf15e
parentccc03d68e8f173fb8988855c22e707641342ecb5
gobex: Fix a compilation error for the compatibility with LLVM

The C Standard, subclause 7.16.1.4, paragraph 4 [ISO/IEC 9899:2011], states:
The parameter parmN is the identifier of the rightmost parameter in
the variable parameter list in the function definition (the one just
before the ...). If the parameter parmN is declared with the register
storage class, with a function or array type, or with a type that is
not compatible with the type that results after application of the
default argument promotions, the behavior is undefined.
gobex/gobex-packet.c
gobex/gobex-packet.h
gobex/gobex-transfer.c
gobex/gobex.c
gobex/gobex.h