Skip to content

Commit

Permalink
squash. formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
korydraughn committed Mar 27, 2024
1 parent dbbc405 commit c419193
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion lib/api/include/irods/generalUpdate.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
extern "C" {
#endif

__attribute__((deprecated("GeneralUpdate is deprecated. Its use should be avoided."))) int rcGeneralUpdate(rcComm_t* conn, generalUpdateInp_t* generalUpdateInp);
int rcGeneralUpdate(rcComm_t* conn, generalUpdateInp_t* generalUpdateInp)
__attribute__((deprecated("GeneralUpdate is deprecated. Its use should be avoided.")));

#ifdef __cplusplus
} // extern "C"
Expand Down
3 changes: 2 additions & 1 deletion lib/core/include/irods/rodsGeneralUpdate.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
#define GeneralUpdateInp_PI "int type; struct InxValPair_PI;"

// NOLINTNEXTLINE(modernize-use-using)
__attribute__((deprecated("GeneralUpdate is deprecated. Its use should be avoided."))) typedef struct __attribute__((deprecated("GeneralUpdate is deprecated. Its use should be avoided."))) GeneralUpdateInp
__attribute__((deprecated("GeneralUpdate is deprecated. Its use should be avoided."))) typedef struct __attribute__((
deprecated("GeneralUpdate is deprecated. Its use should be avoided."))) GeneralUpdateInp
{
int type; /* GEN_UPDATE_INSERT or DELETE */
inxValPair_t values; /* Column IDs (from rodsGenQuery.h) and values */
Expand Down
3 changes: 2 additions & 1 deletion server/api/include/irods/rsGeneralUpdate.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
#include "irods/rcConnect.h"
#include "irods/rodsGeneralUpdate.h"

[[deprecated("GeneralUpdate is deprecated. Its use should be avoided.")]] int rsGeneralUpdate(rsComm_t* rsComm, generalUpdateInp_t* generalUpdateInp);
int rsGeneralUpdate(rsComm_t* rsComm, generalUpdateInp_t* generalUpdateInp)
__attribute__((deprecated("GeneralUpdate is deprecated. Its use should be avoided.")));

#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
Expand Down
3 changes: 2 additions & 1 deletion server/icat/include/irods/icatHighLevelRoutines.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ int chlGenQueryTicketSetup( const char *ticket, const char *clientAddr );
int chlSpecificQuery( specificQueryInp_t specificQueryInp,
genQueryOut_t *genQueryOut );

__attribute__((deprecated("GeneralUpdate is deprecated. Its use should be avoided."))) int chlGeneralUpdate(generalUpdateInp_t generalUpdateInp);
int chlGeneralUpdate(generalUpdateInp_t generalUpdateInp)
__attribute__((deprecated("GeneralUpdate is deprecated. Its use should be avoided.")));

int chlDelCollByAdmin( rsComm_t *rsComm, collInfo_t *collInfo );
int chlDelColl( rsComm_t *rsComm, collInfo_t *collInfo );
Expand Down

0 comments on commit c419193

Please sign in to comment.