diff --git a/src/pair.cpp b/src/pair.cpp
index f8ae641d2fb7072d23c2347c8922125da61cfbc1..5d73a592e8bea96cfe4b16939cdde484a3ee1fa9 100644
--- a/src/pair.cpp
+++ b/src/pair.cpp
@@ -43,6 +43,8 @@
 using namespace LAMMPS_NS;
 using namespace MathConst;
 
+enum{NONE,RLINEAR,RSQ,BMP};
+
 // allocate space for static class instance variable and initialize it
 
 int Pair::instance_total = 0;
diff --git a/src/pair.h b/src/pair.h
index fbb6d8408b4f1a10fd9347b411540c8282104005..3378115e499c3f6f87bc4ff18b64dd35aa680577 100644
--- a/src/pair.h
+++ b/src/pair.h
@@ -32,8 +32,6 @@ class Pair : protected Pointers {
   friend class Info;
 
  public:
-  enum{NONE,RLINEAR,RSQ,BMP};
-
   static int instance_total;     // # of Pair classes ever instantiated
 
   double eng_vdwl,eng_coul;      // accumulated energies