[gnutls-devel] GnuTLS | specify osstatus_error takes in an OSStatus as its first argument (!1794)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Mon Nov 27 13:21:07 CET 2023



Mark Harfouche created a merge request: https://gitlab.com/gnutls/gnutls/-/merge_requests/1794

Project:Branches: markharfouche/gnutls:markharfouche-master-patch-88279 to gnutls/gnutls:master
Author:   Mark Harfouche




With LLVM16 the following error is generated:
```
system/certs.c:292:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
static int osstatus_error(status)
```

* specify osstatus_error takes in an OSStatus as its first argument

## Checklist
 * [ ] Commits have `Signed-off-by:` with name/author being identical to the commit author
 * [ ] Code modified for feature
 * [ ] Test suite updated with functionality tests
 * [ ] Test suite updated with negative tests
 * [ ] Documentation updated / NEWS entry present (for non-trivial changes)
 * [ ] CI timeout is 2h or higher (see Settings/CICD/General pipelines/Timeout)

## Reviewer's checklist:
 * [ ] Any issues marked for closing are addressed
 * [ ] There is a test suite reasonably covering new functionality or modifications
 * [ ] Function naming, parameters, return values, types, etc., are consistent and according to `CONTRIBUTION.md`
 * [ ] This feature/change has adequate documentation added
 * [ ] No obvious mistakes in the code

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1794
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20231127/cbe86b94/attachment-0001.html>


More information about the Gnutls-devel mailing list