Skip to content

Commit

Permalink
Added const keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Pedersen committed Oct 27, 2014
1 parent ef3093d commit 41bffcd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DataManager/include/hpd_adapter.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ struct Adapter
DeviceElement *device_head;
};

Adapter* adapterNew( char *network, void *data );
Adapter* adapterNew( const char *network, void *data );
void adapterFree( Adapter *adapter );
int adapterAddDevice(Adapter *adapter, Device *device, char *deviceId);
int adapterRemoveDevice(Adapter *adapter, Device *device);
Expand Down
2 changes: 1 addition & 1 deletion DataManager/src/hpd_adapter.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
DeviceElement* findDeviceElement(Adapter *adapter, char *device_id);

Adapter*
adapterNew( char *network, void *data )
adapterNew( const char *network, void *data )
{
Adapter * adapter;

Expand Down

0 comments on commit 41bffcd

Please sign in to comment.