diff options
author | Michael Catanzaro <mcatanzaro@gnome.org> | 2020-08-12 17:53:47 -0500 |
---|---|---|
committer | Michael Catanzaro <mcatanzaro@gnome.org> | 2020-08-12 17:53:47 -0500 |
commit | 284335c1ad0220dbb4458a739b7332c80c094ab1 (patch) | |
tree | 8f9bd1ab82d3c8c078e0e7a86db95d6c899b3513 | |
parent | d6990f4aaab4b947a490ab1abfd9ac6e62d66d7a (diff) | |
download | libproxy-git-284335c1ad0220dbb4458a739b7332c80c094ab1.tar.gz |
Stop defining _BSD_SOURCE
It's not needed here and has been deprecated for a long time. Fixes:
[ 82%] Building CXX object libproxy/CMakeFiles/config_kde.dir/modules/config_kde.cpp.o
In file included from /usr/include/bits/libc-header-start.h:33,
from /usr/include/stdio.h:27,
from /home/mcatanzaro/Projects/libproxy/utils/proxy.c:21:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
| ^~~~~~~
-rw-r--r-- | utils/proxy.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/utils/proxy.c b/utils/proxy.c index 0ee4fc7..cfb0f9c 100644 --- a/utils/proxy.c +++ b/utils/proxy.c @@ -16,7 +16,6 @@ * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ******************************************************************************/ -#define _BSD_SOURCE #include <stdio.h> #include <stdlib.h> |