diff options
author | dos-reis <gdr@axiomatics.org> | 2011-05-30 17:07:22 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2011-05-30 17:07:22 +0000 |
commit | 72d3df9188861d62e9c6e1a29a720d6dc0696d99 (patch) | |
tree | 4d33deaf2b78e62f66a037654a3dbdb665016ed6 /src/include/wct.h | |
parent | f99ece56ccd39726097c11bb2f78f79c2ab340ef (diff) | |
download | open-axiom-72d3df9188861d62e9c6e1a29a720d6dc0696d99.tar.gz |
fix const-correctness in old C codes
Diffstat (limited to 'src/include/wct.h')
-rw-r--r-- | src/include/wct.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/wct.h b/src/include/wct.h index bc7a3604..fd33c089 100644 --- a/src/include/wct.h +++ b/src/include/wct.h @@ -1,7 +1,7 @@ /* Copyright (C) 1991-2002, The Numerical Algorithms Group Ltd. All rights reserved. - Copyright (C) 2007-2010, Gabriel Dos Reis. + Copyright (C) 2007-2011, Gabriel Dos Reis. All rights reserved. Redistribution and use in source and binary forms, with or without @@ -37,7 +37,7 @@ #define OPENAXIOM_wct_INCLUDED extern time_t ftime(char * ); -extern void fatal(char * , char * ); +extern void fatal(const char * , const char * ); extern off_t fsize(char * ); extern Wix * scanWct(Wct * , char * ); extern void reintern1Wct(Wct * ); @@ -48,7 +48,7 @@ extern void printTime(long * ); extern int skimString(char * , int , int , int ); extern int prChar(int ); extern Wct * reread1Wct(Wct * ); -extern void sfatal(char * ); +extern void sfatal(const char * ); extern Wct * read1Wct(char * ); extern Wct * nconcWct(Wct * , Wct * ); extern void sortWct(Wct * ); |