diff --git a/sign/rpmsignfiles.h b/sign/rpmsignfiles.h index 2ff623cdf..a21a00612 100644 --- a/sign/rpmsignfiles.h +++ b/sign/rpmsignfiles.h @@ -19,7 +19,7 @@ extern "C" { RPM_GNUC_INTERNAL rpmRC rpmSignFiles(Header sigh, Header h, const char *key, char *keypass); -#ifdef _cplusplus +#ifdef __cplusplus } #endif diff --git a/sign/rpmsignverity.h b/sign/rpmsignverity.h index d869e8d8e..16e6c9857 100644 --- a/sign/rpmsignverity.h +++ b/sign/rpmsignverity.h @@ -29,7 +29,7 @@ RPM_GNUC_INTERNAL rpmRC rpmSignVerity(FD_t fd, Header sigh, Header h, char *key, char *keypass, char *cert, uint16_t algo); -#ifdef _cplusplus +#ifdef __cplusplus } #endif