8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 12:03:02 +01:00

Constness

This commit is contained in:
robocop 2008-02-02 17:07:37 +00:00
parent 588f9b6b3d
commit 83dc6bde8f
3 changed files with 4 additions and 4 deletions

View File

@ -404,9 +404,9 @@ UCHAR LOCK_downgrade(SRQ_PTR request_offset,
SRQ_PTR LOCK_enq(SRQ_PTR prior_request,
SRQ_PTR parent_request,
USHORT series,
const USHORT series,
const UCHAR* value,
USHORT length,
const USHORT length,
UCHAR type,
lock_ast_t ast_routine,
void* ast_argument,

View File

@ -27,7 +27,7 @@
bool LOCK_convert(SLONG, UCHAR, SSHORT, lock_ast_t, void*, ISC_STATUS*);
bool LOCK_deq(SLONG);
UCHAR LOCK_downgrade(SLONG, ISC_STATUS *);
SLONG LOCK_enq(SLONG, SLONG, USHORT, const UCHAR*, USHORT, UCHAR,
SLONG LOCK_enq(SLONG, SLONG, const USHORT, const UCHAR*, const USHORT, UCHAR,
lock_ast_t, void*, SLONG, SSHORT, ISC_STATUS*, SLONG);
bool LOCK_set_owner_handle(SLONG, SLONG);
void LOCK_fini(ISC_STATUS*, SLONG *);

View File

@ -318,7 +318,7 @@ int gstat(Firebird::UtilSvc* uSvc)
tddba->dba_status = tddba->dba_status_vector;
status_vector = tddba->dba_status;
bool called_as_service = uSvc->isService();
const bool called_as_service = uSvc->isService();
if (called_as_service)
{
tddba->dba_status = uSvc->getStatus();