X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=base%2Fintmath.cc;h=f84e124fba210bbe5f5134639f0493fdc46cd98f;hb=3ab83348d2baa56b41f4bd35c65bb0bcaa4fb035;hp=b9a478ba030330cb50f9613f441e7dd8ad008f67;hpb=25693e9e691cd9c33cad44511877e2509797a9cd;p=gem5.git diff --git a/base/intmath.cc b/base/intmath.cc index b9a478ba0..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 @@ -47,7 +47,7 @@ PrevPrime(int n) else if (decr == 1) decr = 4; - for(;;) { + for (;;) { if (IsPrime(n)) return n; n -= decr;