summaryrefslogtreecommitdiff
path: root/mpi/mpi-inline.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1999-04-26 15:53:01 +0000
committerWerner Koch <wk@gnupg.org>1999-04-26 15:53:01 +0000
commited6c869431be6022f6115cce71041967016b7fb5 (patch)
tree6e1f2d1876f5ba948e702fb60928d276ee81ea0f /mpi/mpi-inline.h
parentef51204cbee78fdbb25e17b63541a69253e113dd (diff)
downloadlibgcrypt-ed6c869431be6022f6115cce71041967016b7fb5.tar.gz
See ChangeLog: Mon Apr 26 17:48:15 CEST 1999 Werner Koch
Diffstat (limited to 'mpi/mpi-inline.h')
-rw-r--r--mpi/mpi-inline.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/mpi/mpi-inline.h b/mpi/mpi-inline.h
index 5dc6fc0a..8c7cedb6 100644
--- a/mpi/mpi-inline.h
+++ b/mpi/mpi-inline.h
@@ -1,5 +1,5 @@
/* mpi-inline.h - Internal to the Multi Precision Integers
- * Copyright (C) 1998 Free Software Foundation, Inc.
+ * Copyright (C) 1998, 1999 Free Software Foundation, Inc.
* Copyright (C) 1994, 1996 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
@@ -30,8 +30,11 @@
#ifndef G10_MPI_INLINE_H
#define G10_MPI_INLINE_H
+#ifndef G10_MPI_INLINE_DECL
+ #define G10_MPI_INLINE_DECL extern __inline__
+#endif
-extern __inline__ mpi_limb_t
+G10_MPI_INLINE_DECL mpi_limb_t
mpihelp_add_1( mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
mpi_size_t s1_size, mpi_limb_t s2_limb)
{
@@ -61,7 +64,7 @@ mpihelp_add_1( mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
-extern __inline__ mpi_limb_t
+G10_MPI_INLINE_DECL mpi_limb_t
mpihelp_add(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, mpi_size_t s1_size,
mpi_ptr_t s2_ptr, mpi_size_t s2_size)
{
@@ -77,7 +80,7 @@ mpihelp_add(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, mpi_size_t s1_size,
}
-extern __inline__ mpi_limb_t
+G10_MPI_INLINE_DECL mpi_limb_t
mpihelp_sub_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
mpi_size_t s1_size, mpi_limb_t s2_limb )
{
@@ -107,7 +110,7 @@ mpihelp_sub_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
-extern __inline__ mpi_limb_t
+G10_MPI_INLINE_DECL mpi_limb_t
mpihelp_sub( mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, mpi_size_t s1_size,
mpi_ptr_t s2_ptr, mpi_size_t s2_size)
{