8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 22:43:04 +01:00

Remove obsolete PASCAL_ROUTINE macro

This commit is contained in:
brodsom 2003-02-28 23:53:38 +00:00
parent 924e147213
commit 3ebd5a9eec
5 changed files with 14 additions and 18 deletions

View File

@ -49,7 +49,7 @@
*
*/
/*
$Id: common.h,v 1.63 2003-02-28 13:38:30 brodsom Exp $
$Id: common.h,v 1.64 2003-02-28 23:53:38 brodsom Exp $
*/
#ifndef JRD_COMMON_H
@ -651,10 +651,6 @@ typedef RETSIGTYPE (*SIG_FPTR) ();
/* various declaration modifiers */
#ifndef PASCAL_ROUTINE
#define PASCAL_ROUTINE
#endif
#ifndef API_ROUTINE
#define API_ROUTINE
#define API_ROUTINE_VARARG

View File

@ -219,7 +219,7 @@ typedef void (*pfn_cvt_private_cludge) (int, int);
typedef void (*pfn_cvt_private_cludge2) (int, int, ...);
double PASCAL_ROUTINE CVT_date_to_double(DSC * desc, FPTR_VOID err)
double CVT_date_to_double(DSC * desc, FPTR_VOID err)
{
/**************************************
*
@ -303,7 +303,7 @@ void CVT_double_to_date(double real, SLONG fixed[2], FPTR_VOID err)
}
double PASCAL_ROUTINE CVT_get_double(DSC * desc, FPTR_VOID err)
double CVT_get_double(DSC * desc, FPTR_VOID err)
{
/**************************************
*
@ -1180,7 +1180,7 @@ USHORT CVT_get_string_ptr(DSC * desc,
}
GDS_DATE PASCAL_ROUTINE CVT_get_sql_date(DSC * desc, FPTR_VOID err)
GDS_DATE CVT_get_sql_date(DSC * desc, FPTR_VOID err)
{
/**************************************
*
@ -1206,7 +1206,7 @@ GDS_DATE PASCAL_ROUTINE CVT_get_sql_date(DSC * desc, FPTR_VOID err)
}
GDS_TIME PASCAL_ROUTINE CVT_get_sql_time(DSC * desc, FPTR_VOID err)
GDS_TIME CVT_get_sql_time(DSC * desc, FPTR_VOID err)
{
/**************************************
*
@ -1232,7 +1232,7 @@ GDS_TIME PASCAL_ROUTINE CVT_get_sql_time(DSC * desc, FPTR_VOID err)
}
GDS_TIMESTAMP PASCAL_ROUTINE CVT_get_timestamp(DSC * desc, FPTR_VOID err)
GDS_TIMESTAMP CVT_get_timestamp(DSC * desc, FPTR_VOID err)
{
/**************************************
*
@ -2738,7 +2738,7 @@ static void string_to_datetime(
}
double PASCAL_ROUTINE power_of_ten(int scale)
double power_of_ten(int scale)
{
/*************************************
*

View File

@ -24,9 +24,9 @@
#ifndef _JRD_CVT_PROTO_H_
#define _JRD_CVT_PROTO_H_
extern double PASCAL_ROUTINE CVT_date_to_double(struct dsc *, FPTR_VOID);
extern double CVT_date_to_double(struct dsc *, FPTR_VOID);
extern void CVT_double_to_date(double, SLONG[2], FPTR_VOID);
extern double PASCAL_ROUTINE CVT_get_double(struct dsc *, FPTR_VOID);
extern double CVT_get_double(struct dsc *, FPTR_VOID);
extern SLONG CVT_get_long(struct dsc *, SSHORT, FPTR_VOID);
extern SINT64 CVT_get_int64(struct dsc *, SSHORT, FPTR_VOID);
extern UCHAR CVT_get_numeric(UCHAR *, USHORT, SSHORT *, double *, FPTR_VOID);

View File

@ -335,7 +335,7 @@ int MOVQ_compare( DSC * arg1, DSC * arg2)
}
double PASCAL_ROUTINE MOVQ_date_to_double( DSC * desc)
double MOVQ_date_to_double( DSC * desc)
{
/**************************************
*
@ -489,7 +489,7 @@ void MOVQ_fast(
}
double PASCAL_ROUTINE MOVQ_get_double( DSC * desc)
double MOVQ_get_double( DSC * desc)
{
/**************************************
*

View File

@ -25,12 +25,12 @@
#define _QLI_MOV_PROTO_H_
extern int MOVQ_compare (struct dsc *, struct dsc *);
extern double PASCAL_ROUTINE MOVQ_date_to_double (struct dsc *);
extern double MOVQ_date_to_double (struct dsc *);
extern int MOVQ_decompose (TEXT *, USHORT, SLONG *);
extern void MOVQ_double_to_date (double, SLONG [2]);
extern void MOVQ_fast (SCHAR *, SCHAR *, ULONG);
extern double PASCAL_ROUTINE MOVQ_get_double (struct dsc *);
extern SLONG MOVQ_get_long (struct dsc *, SSHORT);
extern double MOVQ_get_double (struct dsc *);
extern SLONG MOVQ_get_long (struct dsc *, SSHORT);
extern int MOVQ_get_string (struct dsc *, TEXT **, struct vary *, USHORT);
extern void MOVQ_move (struct dsc *, struct dsc *);
extern void MOVQ_terminate (SCHAR *, SCHAR *, SSHORT, SSHORT);