Changeset 34


Ignore:
Timestamp:
Aug 2, 2016, 12:43:24 AM (9 years ago)
Author:
stevenhl
Message:

Avoid duplicate definitions and warnings for PSZ_ZERO and PSZ_ONE

Location:
shared
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • shared/shfuncs.c

    r32 r34  
    1414
    1515#include "shfuncs.h"
     16
     17const char *PSZ_ZERO = "0";
     18const char *PSZ_ONE = "1";
    1619
    1720/* ------------------------------------------------------------------------- *
  • shared/shfuncs.h

    r32 r34  
    44#define US_ERRSTR_MAXZ      250             // max length of an error string
    55
    6 static const char *PSZ_ZERO = "0";
    7 static const char *PSZ_ONE = "1";
    8 
     6extern const char *PSZ_ZERO;
     7extern const char *PSZ_ONE;
    98
    109// FUNCTION DECLARATIONS
Note: See TracChangeset for help on using the changeset viewer.