Skip to content

Commit

Permalink
fail: constify fail_programName
Browse files Browse the repository at this point in the history
Signed-off-by: Emilio G. Cota <cota@braap.org>
  • Loading branch information
cota committed Jan 17, 2019
1 parent ca9fa2b commit 5a59dce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/fail.c
Original file line number Diff line number Diff line change
Expand Up @@ -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, ... )
{
Expand Down
2 changes: 1 addition & 1 deletion source/fail.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 *, ... );

0 comments on commit 5a59dce

Please sign in to comment.