Module: kamailio Branch: master Commit: 9d4d9c0afce10d00f65eccb3c9bfd3c508bac336 URL: https://github.com/kamailio/kamailio/commit/9d4d9c0afce10d00f65eccb3c9bfd3c5...
Author: Victor Seva linuxmaniac@torreviejawireless.org Committer: Victor Seva linuxmaniac@torreviejawireless.org Date: 2023-12-22T09:51:28+01:00
auth_identity: fix build warning
CC (gcc) [M auth_identity.so] auth_dynstr.o auth_crypt.c:29: warning: "_GNU_SOURCE" redefined 29 | #define _GNU_SOURCE | <command-line>: note: this is the location of the previous definition
---
Modified: src/modules/auth_identity/auth_crypt.c
---
Diff: https://github.com/kamailio/kamailio/commit/9d4d9c0afce10d00f65eccb3c9bfd3c5... Patch: https://github.com/kamailio/kamailio/commit/9d4d9c0afce10d00f65eccb3c9bfd3c5...
---
diff --git a/src/modules/auth_identity/auth_crypt.c b/src/modules/auth_identity/auth_crypt.c index 934c9cca347..4cc55a38fda 100644 --- a/src/modules/auth_identity/auth_crypt.c +++ b/src/modules/auth_identity/auth_crypt.c @@ -25,8 +25,9 @@ * Module: \ref auth-identity */
- +#ifndef _GNU_SOURCE #define _GNU_SOURCE +#endif #include <stdio.h> #include <stdlib.h> #include <string.h>