summaryrefslogtreecommitdiff
path: root/security/libgcrypt/patches/patch-mpi_mpi-inline.h
blob: 6c9ca20cba2d3497f5ab54439b4626ddb124b818 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-mpi_mpi-inline.h,v 1.1 2011/07/13 21:21:52 adam Exp $

Change inline functions to static, which fixes building with Clang.

--- mpi/mpi-inline.h.orig	2011-07-13 21:09:51.000000000 +0000
+++ mpi/mpi-inline.h
@@ -29,7 +29,7 @@
 #define G10_MPI_INLINE_H
 
 #ifndef G10_MPI_INLINE_DECL
-#define G10_MPI_INLINE_DECL  extern __inline__
+#define G10_MPI_INLINE_DECL  static __inline__
 #endif
 
 G10_MPI_INLINE_DECL  mpi_limb_t