openhpi2 / Open-HPI

Open HPI is an open source implementation of the SA Forum's Hardware Platform Interface (HPI). HPI provides an abstracted interface to managing computer hardware, typically for chassis and rack based servers
Other
3 stars 1 forks source link

Old functions still used with GLIB > 2.31 #2578

Closed openhpi2 closed 8 years ago

openhpi2 commented 9 years ago

The following functions in the sahpi_wrappers.c do not use the latest library calls for GLIB version > 2.31. Make necessary changes to use the library calls. wrap_g_static_private_set wrap_g_static_private_get wrap_g_async_queue_timed_pop wrap_g_cond_timed_wait

Reported by: dr_mohan

openhpi2 commented 9 years ago

The attached patch has the four new functions. But it gives the 2 warning messages during compilation even though it gets rid of other warning messages. Testing is under progress. Since the fix is in the infrastructure area, please do review.

1877_29_June_2015.patch.txt

Original comment by: dr_mohan

openhpi2 commented 9 years ago

Original comment by: dr_mohan

openhpi2 commented 9 years ago

Fixed in checkin #7637

Original comment by: dr_mohan