Fix compiler warning
authorRoland Schulz <roland.schulz@intel.com>
Thu, 7 Sep 2017 00:40:06 +0000 (17:40 -0700)
committerAleksei Iupinov <a.yupinov@gmail.com>
Fri, 8 Sep 2017 11:18:39 +0000 (13:18 +0200)
Change-Id: Ic665baecec83f89bebb0fddea5385ae88c075adb

src/gromacs/simd/impl_reference/impl_reference_general.h

index 3b786729f4f4d95adb4c8511849ee0f5e54451b6..6cd0af1cf826e116836a80f4b0090d018772f4f1 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2014,2015, by the GROMACS development team, led by
+ * Copyright (c) 2014,2015,2017, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -67,7 +67,7 @@ namespace gmx
  *        but if the pointer is not aligned the prefetch might start at the
  *        lower cache line boundary (meaning fewer bytes are prefetched).
  */
-static void
+static inline void
 simdPrefetch(void gmx_unused * m)
 {
     // Do nothing for reference implementation