Changeset a3f0fea in git for Singular/iparith.cc


Ignore:
Timestamp:
Jan 24, 2019, 1:08:04 PM (5 years ago)
Author:
Reimer Behrends <behrends@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
756676ef1fcf4cff300fb1607a6d21293b253245
Parents:
25fe907e3f7e0d124b25f97832c0b71e96c515e2
Message:
Modify variable declarions for pSingular.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/iparith.cc

    r25fe907 ra3f0fea  
    193193 *
    194194 *---------------------------------------------------------------------*/
    195 static SArithBase sArithBase;  /**< Base entry for arithmetic */
     195STATIC_VAR SArithBase sArithBase;  /**< Base entry for arithmetic */
    196196
    197197/*---------------------------------------------------------------------*
     
    209209
    210210/*============= vars ======================*/
    211 extern int cmdtok;
    212 extern BOOLEAN expected_parms;
     211EXTERN_VAR int cmdtok;
     212EXTERN_VAR BOOLEAN expected_parms;
    213213
    214214#define ii_div_by_0 "div. by 0"
    215215
    216 int iiOp; /* the current operation*/
     216VAR int iiOp; /* the current operation*/
    217217
    218218/*=================== simple helpers =================*/
     
    20222022{
    20232023  WerrorS((char *)u->Data());
    2024   extern int inerror;
     2024  EXTERN_VAR int inerror;
    20252025  inerror=3;
    20262026  return TRUE;
     
    20852085  return FALSE;
    20862086}
    2087 extern int singclap_factorize_retry;
     2087EXTERN_VAR int singclap_factorize_retry;
    20882088static BOOLEAN jjFAC_P2(leftv res, leftv u,leftv dummy)
    20892089{
     
    32423242  return FALSE;
    32433243}
    3244 extern int singclap_factorize_retry;
     3244EXTERN_VAR int singclap_factorize_retry;
    32453245static BOOLEAN jjSQR_FREE2(leftv res, leftv u, leftv dummy)
    32463246{
     
    36513651    {
    36523652      char name_buffer[100];
    3653       static int ending=1000000;
     3653      STATIC_VAR int ending=1000000;
    36543654      ending++;
    36553655      sprintf(name_buffer, "PYTHON_RING_VAR%d",ending);
     
    53245324  return TRUE;
    53255325}
    5326 static int WerrorS_dummy_cnt=0;
     5326STATIC_VAR int WerrorS_dummy_cnt=0;
    53275327static void WerrorS_dummy(const char *)
    53285328{
     
    90189018
    90199019typedef char si_char_2[2];
    9020 static si_char_2 Tok2Cmdname_buf=" ";
     9020STATIC_VAR si_char_2 Tok2Cmdname_buf=" ";
    90219021const char * Tok2Cmdname(int tok)
    90229022{
Note: See TracChangeset for help on using the changeset viewer.