Skip to content

Commit

Permalink
ncd: NCDAst: cosmetic changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ambrop7 committed Oct 5, 2012
1 parent b3ad397 commit 41ccb66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ncd/NCDAst.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ int NCDValue_InitStringBin (NCDValue *o, const uint8_t *str, size_t len)
return 1;
}

char * NCDValue_StringValue (NCDValue *o)
const char * NCDValue_StringValue (NCDValue *o)
{
ASSERT(o->type == NCDVALUE_STRING)

Expand Down
2 changes: 1 addition & 1 deletion ncd/NCDAst.h
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ void NCDValue_Free (NCDValue *o);
int NCDValue_Type (NCDValue *o);
int NCDValue_InitString (NCDValue *o, const char *str) WARN_UNUSED;
int NCDValue_InitStringBin (NCDValue *o, const uint8_t *str, size_t len) WARN_UNUSED;
char * NCDValue_StringValue (NCDValue *o);
const char * NCDValue_StringValue (NCDValue *o);
size_t NCDValue_StringLength (NCDValue *o);
void NCDValue_InitList (NCDValue *o);
size_t NCDValue_ListCount (NCDValue *o);
Expand Down

0 comments on commit 41ccb66

Please sign in to comment.