libfreerdp-utils: Add const to a few global strings.

This commit is contained in:
Mike Gilbert 2011-11-30 18:00:39 -05:00
parent bc3f8dfa53
commit b456a4ea0a
2 changed files with 5 additions and 5 deletions

View File

@ -20,9 +20,9 @@
#include <freerdp/utils/file.h>
#include <freerdp/utils/certstore.h>
static char cert_dir[] = "freerdp";
static char cert_loc[] = "cacert";
static char certstore_file[] = "known_hosts";
static const char cert_dir[] = "freerdp";
static const char cert_loc[] = "cacert";
static const char certstore_file[] = "known_hosts";
void certstore_create(rdpCertStore* certstore)
{

View File

@ -21,8 +21,8 @@
#include <freerdp/utils/registry.h>
static char registry_dir[] = "freerdp";
static char registry_file[] = "config.txt";
static const char registry_dir[] = "freerdp";
static const char registry_file[] = "config.txt";
static REG_SECTION global[] =
{