Skip to content

Commit

Permalink
Merge pull request #16 from rhattersley/storage-class
Browse files Browse the repository at this point in the history
Fix storage class for message
  • Loading branch information
rhattersley committed Aug 7, 2015
2 parents 86e0f65 + 74be1b8 commit d1366a6
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/pack_ppfield.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
#include "rlencode.h"

// Message buffer for the syslog interface
char message[MAX_MESSAGE_SIZE];
static char message[MAX_MESSAGE_SIZE];

// DATA field structure interface
// pack the data, calling the correct method based on the lookup associated with it
Expand Down
2 changes: 1 addition & 1 deletion src/rlencode.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
#include "wgdosstuff.h"
#include "logerrors.h"

char message[MAX_MESSAGE_SIZE];
static char message[MAX_MESSAGE_SIZE];
#define debug 0
/*
* runlenEncode returns RL_OK if success, RL_ERR if input the number of
Expand Down
2 changes: 1 addition & 1 deletion src/unpack_ppfield.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@

// Message buffer for the syslog interface
#define MAX_MESSAGE_SIZE 1024
char message[MAX_MESSAGE_SIZE];
static char message[MAX_MESSAGE_SIZE];

// DATA field structure interface
// unpack the data, calling the correct method based on the lookup associated with it
Expand Down
2 changes: 1 addition & 1 deletion src/wgdos_decode_field_parameters.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
#include "logerrors.h"

#define MAX_MESSAGE_SIZE 1024
char message[MAX_MESSAGE_SIZE];
static char message[MAX_MESSAGE_SIZE];

/* End of header */

Expand Down
2 changes: 1 addition & 1 deletion src/wgdos_decode_row_parameters.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
#include "logerrors.h"

#define MAX_MESSAGE_SIZE 1024
char message[MAX_MESSAGE_SIZE];
static char message[MAX_MESSAGE_SIZE];
/* End of header */

int wgdos_decode_row_parameters(
Expand Down
2 changes: 1 addition & 1 deletion src/wgdos_expand_row_to_data.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
#define debug 0

#define MAX_MESSAGE_SIZE 1024
char message[MAX_MESSAGE_SIZE];
static char message[MAX_MESSAGE_SIZE];

/* End of header */

Expand Down
2 changes: 1 addition & 1 deletion src/wgdos_pack.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
#include "wgdosstuff.h"
#include "logerrors.h"

char message[MAX_MESSAGE_SIZE];
static char message[MAX_MESSAGE_SIZE];
/* End of header */


Expand Down
2 changes: 1 addition & 1 deletion src/wgdos_unpack.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
#include "logerrors.h"

#define MAX_MESSAGE_SIZE 1024
char message[MAX_MESSAGE_SIZE];
static char message[MAX_MESSAGE_SIZE];
/* End of header */

int wgdos_unpack(
Expand Down

0 comments on commit d1366a6

Please sign in to comment.