diff options
author | Emilio G. Cota <cota@braap.org> | 2019-01-17 13:11:38 -0500 |
---|---|---|
committer | Emilio G. Cota <cota@braap.org> | 2019-01-17 13:11:38 -0500 |
commit | 5a59dcec19327396a011a17fd924aed4fec416b3 (patch) | |
tree | b6eeac0dc4f25bb231b83fdc86b4d7957fce3756 | |
parent | ca9fa2ba05625ba929958f163b01747e07dd39cc (diff) | |
download | berkeley-testfloat-3-5a59dcec19327396a011a17fd924aed4fec416b3.zip berkeley-testfloat-3-5a59dcec19327396a011a17fd924aed4fec416b3.tar.gz berkeley-testfloat-3-5a59dcec19327396a011a17fd924aed4fec416b3.tar.bz2 |
fail: constify fail_programName
Signed-off-by: Emilio G. Cota <cota@braap.org>
-rw-r--r-- | source/fail.c | 2 | ||||
-rw-r--r-- | source/fail.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/fail.c b/source/fail.c index f68e941..befe6b0 100644 --- a/source/fail.c +++ b/source/fail.c @@ -41,7 +41,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include "platform.h" #include "fail.h" -char *fail_programName = ""; +const char *fail_programName = ""; void fail( const char *messagePtr, ... ) { diff --git a/source/fail.h b/source/fail.h index e981473..f163d3c 100644 --- a/source/fail.h +++ b/source/fail.h @@ -35,7 +35,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. =============================================================================*/ -extern char *fail_programName; +extern const char *fail_programName; void fail( const char *, ... ); |