mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 10:43:03 +01:00
New macro defined in firebird.h to remove compiler dependencies from cpp sources.
This commit is contained in:
parent
40a779aaff
commit
6e567674b6
@ -24,7 +24,7 @@
|
||||
//
|
||||
//____________________________________________________________
|
||||
//
|
||||
// $Id: alice.cpp,v 1.23 2003-02-25 00:01:30 brodsom Exp $
|
||||
// $Id: alice.cpp,v 1.24 2003-02-27 21:44:48 brodsom Exp $
|
||||
//
|
||||
// 2001.07.06 Sean Leyne - Code Cleanup, removed "#ifdef READONLY_DATABASE"
|
||||
// conditionals, as the engine now fully supports
|
||||
@ -109,11 +109,7 @@ static void expand_filename(TEXT*, TEXT*);
|
||||
static int output_thread(SLONG, UCHAR*);
|
||||
static int output_main(SLONG, UCHAR*);
|
||||
static int output_svc(SLONG, UCHAR*);
|
||||
#ifdef __GNUC__
|
||||
static void alice_output(const SCHAR*, ...) __attribute__ ((format(printf,1,2)));
|
||||
#else
|
||||
static void alice_output(const SCHAR*, ...);
|
||||
#endif
|
||||
static void alice_output(const SCHAR*, ...) ATTRIBUTE_FORMAT(1,2);
|
||||
|
||||
|
||||
|
||||
|
@ -136,11 +136,7 @@ static SSHORT open_files(SCHAR *, SCHAR **, USHORT, USHORT, USHORT);
|
||||
static int output_netware(SLONG, UCHAR *);
|
||||
static int output_main(SLONG, UCHAR *);
|
||||
static int output_svc(SLONG, UCHAR *);
|
||||
#ifdef __GNUC__
|
||||
static void burp_output(const SCHAR *, ...) __attribute__ ((format(printf,1,2)));
|
||||
#else
|
||||
static void burp_output(const SCHAR *, ...);
|
||||
#endif
|
||||
static void burp_output(const SCHAR *, ...) ATTRIBUTE_FORMAT(1,2);
|
||||
|
||||
#ifndef SUPERSERVER
|
||||
static int api_gbak(int, char**, USHORT, TEXT*, TEXT*, TEXT *, BOOLEAN, BOOLEAN);
|
||||
|
@ -27,7 +27,7 @@
|
||||
//
|
||||
//____________________________________________________________
|
||||
//
|
||||
// $Id: c_cxx.cpp,v 1.16 2003-02-27 16:05:17 brodsom Exp $
|
||||
// $Id: c_cxx.cpp,v 1.17 2003-02-27 21:43:11 brodsom Exp $
|
||||
//
|
||||
|
||||
#include "firebird.h"
|
||||
@ -154,13 +154,8 @@ static TEXT *make_name(TEXT *, SYM);
|
||||
static void make_ok_test(ACT, GPRE_REQ, int);
|
||||
static void make_port(POR, int);
|
||||
static void make_ready(DBB, TEXT *, TEXT *, USHORT, GPRE_REQ);
|
||||
#ifdef __GNUC__
|
||||
static void printa(int, const char *, ...) __attribute__ ((format(printf,2,3)));
|
||||
static void printb(TEXT *, ...) __attribute__ ((format(printf,1,2)));
|
||||
#else
|
||||
static void printa(int, const char *, ...);
|
||||
static void printb(TEXT *, ...);
|
||||
#endif
|
||||
static void printa(int, const char *, ...) ATTRIBUTE_FORMAT(2,3);
|
||||
static void printb(TEXT *, ...) ATTRIBUTE_FORMAT(1,2);
|
||||
static TEXT *request_trans(ACT, GPRE_REQ);
|
||||
static TEXT *status_vector(ACT);
|
||||
static void t_start_auto(ACT, GPRE_REQ, TEXT *, int, SSHORT);
|
||||
|
@ -27,7 +27,7 @@
|
||||
//
|
||||
//____________________________________________________________
|
||||
//
|
||||
// $Id: cob.cpp,v 1.18 2003-02-27 16:05:07 brodsom Exp $
|
||||
// $Id: cob.cpp,v 1.19 2003-02-27 21:43:11 brodsom Exp $
|
||||
//
|
||||
// 2002.10.27 Sean Leyne - Completed removal of obsolete "DG_X86" port
|
||||
// 2002.10.27 Sean Leyne - Code Cleanup, removed obsolete "UNIXWARE" port
|
||||
@ -412,13 +412,8 @@ static TEXT *make_name (TEXT *, SYM);
|
||||
static TEXT *make_name_formatted (TEXT *, TEXT *, SYM);
|
||||
static void make_port (POR);
|
||||
static void make_ready (DBB, TEXT *, TEXT *, GPRE_REQ, USHORT);
|
||||
#ifdef __GNUC__
|
||||
static void printa (TEXT *, BOOLEAN, TEXT *, ...) __attribute__ ((format(printf,3,4)));
|
||||
static void printb (TEXT *, ... ) __attribute__ ((format(printf,1,2)));
|
||||
#else
|
||||
static void printa (TEXT *, BOOLEAN, TEXT *, ...);
|
||||
static void printb (TEXT *, ... );
|
||||
#endif
|
||||
static void printa (TEXT *, BOOLEAN, TEXT *, ...) ATTRIBUTE_FORMAT(3,4);
|
||||
static void printb (TEXT *, ... ) ATTRIBUTE_FORMAT(1,2);
|
||||
static TEXT *request_trans (ACT, GPRE_REQ);
|
||||
static void set_sqlcode (ACT);
|
||||
static TEXT *status_vector (ACT);
|
||||
|
Loading…
Reference in New Issue
Block a user