Changeset ca97aa in git


Ignore:
Timestamp:
Dec 15, 2016, 3:49:19 PM (7 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '4a9821a93ffdc22a6696668bd4f6b8c9de3e6c5f')
Children:
101ade3aac2c9268b1f03e1bfada82f432350e29
Parents:
d38e6a38c2efa915f286e60995a20aebf834207d
Message:
code cleanup: static/const stuff
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • libpolys/coeffs/ffields.cc

    rd38e6a rca97aa  
    2525BOOLEAN nfDBTest      (number a, const char *f, const int l, const coeffs r);
    2626#endif
    27 
    28 /// Our Type!
    29 static const n_coeffType ID = n_GF;
    3027
    3128//unsigned short *nfPlus1Table=NULL; /* the table i=log(z^i) -> log(z^i+1) */
     
    923920  const double check= log ((double) (p->GFChar));
    924921
    925   static const double sixteenlog2= 11.09035489;
     922  #define sixteenlog2 11.09035489
    926923  if( (p->GFDegree * check) > sixteenlog2 )
    927924  {
  • libpolys/reporter/reporter.cc

    rd38e6a rca97aa  
    254254}
    255255
    256 static void SPrintS(const char* s)
     256static inline void SPrintS(const char* s)
    257257{
    258258  omCheckAddr(sprint);
  • omalloc/omError.c

    rd38e6a rca97aa  
    2020
    2121/* strings describing omErrors */
    22 static struct omErrorString_s om_ErrorStrings[] =
     22static const struct omErrorString_s om_ErrorStrings[] =
    2323{
    2424  {omError_NoError,                     "omError_NoError",                     "no error"},
Note: See TracChangeset for help on using the changeset viewer.