X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=base%2Fintmath.cc;h=f84e124fba210bbe5f5134639f0493fdc46cd98f;hb=3ab83348d2baa56b41f4bd35c65bb0bcaa4fb035;hp=7a6858d16a96fcf42064dfa1f31841362df3b4af;hpb=1092515e6551b3967226f0ff21b2a74236330932;p=gem5.git diff --git a/base/intmath.cc b/base/intmath.cc index 7a6858d16..f84e124fb 100644 --- a/base/intmath.cc +++ b/base/intmath.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003 The Regents of The University of Michigan + * Copyright (c) 2001, 2003 The Regents of The University of Michigan * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -26,7 +26,7 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include "intmath.hh" +#include "base/intmath.hh" int PrevPrime(int n) @@ -47,7 +47,7 @@ PrevPrime(int n) else if (decr == 1) decr = 4; - for(;;) { + for (;;) { if (IsPrime(n)) return n; n -= decr;