diff --git a/celt/mips/celt_mipsr1.h b/celt/mips/celt_mipsr1.h
index c332fe0471e31af943068de5ed40ee6406938b86..d1b25c204d964193beb866428fca2a3aa5c24250 100644
--- a/celt/mips/celt_mipsr1.h
+++ b/celt/mips/celt_mipsr1.h
@@ -27,8 +27,8 @@
    SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
 
-#ifndef __CELT_MIPSR1_H__
-#define __CELT_MIPSR1_H__
+#ifndef CELT_MIPSR1_H__
+#define CELT_MIPSR1_H__
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -149,4 +149,4 @@ void comb_filter(opus_val32 *y, opus_val32 *x, int T0, int T1, int N,
    }
 }
 
-#endif /* __CELT_MIPSR1_H__ */
+#endif /* CELT_MIPSR1_H__ */
diff --git a/celt/mips/mdct_mipsr1.h b/celt/mips/mdct_mipsr1.h
index 2934dab7768affadc64771de0725ebde88e52688..7456c181a551a665b0650945517bee24bed439e4 100644
--- a/celt/mips/mdct_mipsr1.h
+++ b/celt/mips/mdct_mipsr1.h
@@ -38,8 +38,8 @@
    MDCT implementation in FFMPEG, but has differences in signs, ordering
    and scaling in many places.
 */
-#ifndef __MDCT_MIPSR1_H__
-#define __MDCT_MIPSR1_H__
+#ifndef MDCT_MIPSR1_H__
+#define MDCT_MIPSR1_H__
 
 #ifndef SKIP_CONFIG_H
 #ifdef HAVE_CONFIG_H
@@ -285,4 +285,4 @@ void clt_mdct_backward(const mdct_lookup *l, kiss_fft_scalar *in, kiss_fft_scala
       }
    }
 }
-#endif /* __MDCT_MIPSR1_H__ */
+#endif /* MDCT_MIPSR1_H__ */
diff --git a/celt/mips/vq_mipsr1.h b/celt/mips/vq_mipsr1.h
index f26a33e755e83581dd47769adbc8dccd1ae3fb3c..1621c5624f257a7c5971e10a1bdf6f93a04ed531 100644
--- a/celt/mips/vq_mipsr1.h
+++ b/celt/mips/vq_mipsr1.h
@@ -26,8 +26,8 @@
    SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
 
-#ifndef __VQ_MIPSR1_H__
-#define __VQ_MIPSR1_H__
+#ifndef VQ_MIPSR1_H__
+#define VQ_MIPSR1_H__
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -113,4 +113,4 @@ void renormalise_vector(celt_norm *X, int N, opus_val16 gain, int arch)
    /*return celt_sqrt(E);*/
 }
 
-#endif /* __VQ_MIPSR1_H__ */
+#endif /* VQ_MIPSR1_H__ */
diff --git a/dnn/dred_rdovae_dec.h b/dnn/dred_rdovae_dec.h
index 4e039cf27c574580cf327b17858fd97792822963..2cd499919051a3e5f694ec0583dc81d1bee88099 100644
--- a/dnn/dred_rdovae_dec.h
+++ b/dnn/dred_rdovae_dec.h
@@ -25,8 +25,8 @@
    SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
 
-#ifndef _DRED_RDOVAE_DEC_H
-#define _DRED_RDOVAE_DEC_H
+#ifndef DRED_RDOVAE_DEC_H
+#define DRED_RDOVAE_DEC_H
 
 #include "dred_rdovae.h"
 #include "dred_rdovae_dec_data.h"
diff --git a/dnn/dred_rdovae_enc.h b/dnn/dred_rdovae_enc.h
index 832bd737974c0a8151d6125854192c26d2d0f023..43a4e8b218bb16e8b4092dd3a49945f36e851e7a 100644
--- a/dnn/dred_rdovae_enc.h
+++ b/dnn/dred_rdovae_enc.h
@@ -25,8 +25,8 @@
    SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
 
-#ifndef _DRED_RDOVAE_ENC_H
-#define _DRED_RDOVAE_ENC_H
+#ifndef DRED_RDOVAE_ENC_H
+#define DRED_RDOVAE_ENC_H
 
 #include "dred_rdovae.h"
 
diff --git a/dnn/lpcnet.h b/dnn/lpcnet.h
index 592b22810a11057d15d4949f4890b7b46fcd2cf0..adcba51501e836e81c40f3a817e7719ac3ec05eb 100644
--- a/dnn/lpcnet.h
+++ b/dnn/lpcnet.h
@@ -24,8 +24,8 @@
    SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
 
-#ifndef _LPCNET_H_
-#define _LPCNET_H_
+#ifndef LPCNET_H_
+#define LPCNET_H_
 
 #include "opus_types.h"
 
diff --git a/dnn/nnet.h b/dnn/nnet.h
index 5db0c52a8066fcb4f210469d1d248dbbbe497dc8..64b59d66c984a3e6032b7c120ae2442f1f87b068 100644
--- a/dnn/nnet.h
+++ b/dnn/nnet.h
@@ -25,8 +25,8 @@
    SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
 
-#ifndef _NNET_H_
-#define _NNET_H_
+#ifndef NNET_H_
+#define NNET_H_
 
 #include <stddef.h>
 #include "opus_types.h"
@@ -189,4 +189,4 @@ int gru_init(GRULayer *layer, const WeightArray *arrays,
 void compute_conv2d(const Conv2dLayer *conv, float *out, float *mem, const float *in, int height, int hstride, int activation);
 
 
-#endif /* _MLP_H_ */
+#endif /* NNET_H_ */
diff --git a/dnn/training_tf2/fec_packets.h b/dnn/training_tf2/fec_packets.h
index 35d355428a3ddc15ece26659298473a4975c026f..01b128b17a6dbcdd3e30dfcc5908f921b4073fc7 100644
--- a/dnn/training_tf2/fec_packets.h
+++ b/dnn/training_tf2/fec_packets.h
@@ -25,10 +25,10 @@
    SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
 
-#ifndef _FEC_PACKETS_H
-#define _FEC_PACKETS_H
+#ifndef FEC_PACKETS_H
+#define FEC_PACKETS_H
 
 int get_fec_frame(const char * const filename, float *features, int packet_index, int subframe_index);
 int get_fec_rate(const char * const filename, int packet_index);
 
-#endif
\ No newline at end of file
+#endif
diff --git a/silk/mips/NSQ_del_dec_mipsr1.h b/silk/mips/NSQ_del_dec_mipsr1.h
index cd70713a8f5d9453ec62d7786bc30a90abddc409..85bfb637ef3d139a2a4ad5bc566db70a467cd0b7 100644
--- a/silk/mips/NSQ_del_dec_mipsr1.h
+++ b/silk/mips/NSQ_del_dec_mipsr1.h
@@ -25,8 +25,8 @@ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 POSSIBILITY OF SUCH DAMAGE.
 ***********************************************************************/
 
-#ifndef __NSQ_DEL_DEC_MIPSR1_H__
-#define __NSQ_DEL_DEC_MIPSR1_H__
+#ifndef NSQ_DEL_DEC_MIPSR1_H__
+#define NSQ_DEL_DEC_MIPSR1_H__
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -407,4 +407,4 @@ static inline void silk_noise_shape_quantizer_del_dec(
     }
 }
 
-#endif /* __NSQ_DEL_DEC_MIPSR1_H__ */
+#endif /* NSQ_DEL_DEC_MIPSR1_H__ */
diff --git a/silk/mips/macros_mipsr1.h b/silk/mips/macros_mipsr1.h
index 12ed981a6ee45b080d9d1160206269a3590db041..af408802c302983ca956133b0f7acb7c8d352291 100644
--- a/silk/mips/macros_mipsr1.h
+++ b/silk/mips/macros_mipsr1.h
@@ -26,8 +26,8 @@ POSSIBILITY OF SUCH DAMAGE.
 ***********************************************************************/
 
 
-#ifndef __SILK_MACROS_MIPSR1_H__
-#define __SILK_MACROS_MIPSR1_H__
+#ifndef SILK_MACROS_MIPSR1_H__
+#define SILK_MACROS_MIPSR1_H__
 
 #define mips_clz(x) __builtin_clz(x)
 
@@ -89,4 +89,4 @@ static inline opus_int32 silk_CLZ32(opus_int32 in32)
     return re32;
 }
 
-#endif /* __SILK_MACROS_MIPSR1_H__ */
+#endif /* SILK_MACROS_MIPSR1_H__ */
diff --git a/src/mlp.h b/src/mlp.h
index 101322fc58ca90acf9cebe1bf84909daa72a1b5a..e6b1a8f76cb9dc8e46dac32b1c8c6b1a4ec32402 100644
--- a/src/mlp.h
+++ b/src/mlp.h
@@ -24,8 +24,8 @@
    SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
 
-#ifndef _MLP_H_
-#define _MLP_H_
+#ifndef MLP_H_
+#define MLP_H_
 
 #include "opus_types.h"
 
@@ -57,4 +57,4 @@ void analysis_compute_dense(const AnalysisDenseLayer *layer, float *output, cons
 
 void analysis_compute_gru(const AnalysisGRULayer *gru, float *state, const float *input);
 
-#endif /* _MLP_H_ */
+#endif /* MLP_H_ */