RTEMS | testsuites/psxtests: Added API header OK tests for posix 8 functions to be implemented in GSoC25 (!497)
mazen Adel (@mez3n)
gitlab at rtems.org
Thu Jun 12 22:54:08 UTC 2025
mazen Adel commented on a discussion on testsuites/psxtests/psxhdrs/semaphore/sem_clockwait.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/497#note_124516
> + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
> + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
> + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
> + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
> + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
> + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
> + * POSSIBILITY OF SUCH DAMAGE.
> + */
> +
> +#define _POSIX_C_SOURCE 202405L
> +
> +#ifdef HAVE_CONFIG_H
> +#include "config.h"
> +#endif
> +
> +#include <fcntl.h>
removing `#include time.h` gave an error because `clockid_t` isn't defined in `semaphore.h` so I kept it.
I removed `#include <fcntl.h>` since it was useless.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/497#note_124516
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20250612/b8eadabb/attachment-0001.htm>
More information about the bugs
mailing list