openhpi2 / Open-HPI-base

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
0 stars 1 forks source link

Old functions still used with GLIB > 2.31 #2580

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.

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