Skip to content

Commit a3dd0b6

Browse files
committed
Fix: Fix tdishr C codes due to clang-format issues
* cland-format introduced strange formating issues for certain section of the tdishr codebase. Those issues were fixed manually. * Some refactor of the code was needed for those fixes.
1 parent 346e5d0 commit a3dd0b6

15 files changed

Lines changed: 1109 additions & 618 deletions

tdishr/CvtConvertFloat.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -567,10 +567,6 @@ static void unpack_ibm_s(CVT_IBM_SHORT input_value,
567567
static void unpack_cray(CVT_CRAY input_value, UNPACKED_REAL intermediate_value,
568568
uint32_t options __attribute__((unused)));
569569

570-
extern EXPORT CVT_STATUS CvtConvertFloat(void *input_value, uint32_t input_type,
571-
void *output_value,
572-
uint32_t output_type)
573-
574570
/*
575571
**=============================================================================
576572
**
@@ -635,6 +631,9 @@ extern EXPORT CVT_STATUS CvtConvertFloat(void *input_value, uint32_t input_type,
635631
**
636632
**=============================================================================
637633
*/
634+
extern EXPORT CVT_STATUS CvtConvertFloat(void *input_value, uint32_t input_type,
635+
void *output_value,
636+
uint32_t output_type)
638637
{
639638
/*
640639
** Local variable definitions.

tdishr/DummyRoutines.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,5 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3030
return 0; \
3131
}
3232
/* dummy(LibConvertDateString) */
33-
dummy(LibFindVmZone) dummy(LibShowVmZone)
33+
dummy(LibFindVmZone);
34+
dummy(LibShowVmZone);

0 commit comments

Comments
 (0)