[Git][ghc/ghc][wip/fix-freebsd] linker: Make FreeBSD iconv declarations prototypes
Ben Gamari (@bgamari)
gitlab at gitlab.haskell.org
Thu Aug 3 01:43:48 UTC 2023
Ben Gamari pushed to branch wip/fix-freebsd at Glasgow Haskell Compiler / GHC
Commits:
c1fe5b41 by Ben Gamari at 2023-08-02T21:43:24-04:00
linker: Make FreeBSD iconv declarations prototypes
To satisfy `-Wstrict-prototypes`.
- - - - -
1 changed file:
- rts/Linker.c
Changes:
=====================================
rts/Linker.c
=====================================
@@ -99,12 +99,12 @@
*/
#if defined(freebsd_HOST_OS)
-extern void iconvctl();
-extern void iconv_open_into();
-extern void iconv_open();
-extern void iconv_close();
-extern void iconv_canonicalize();
-extern void iconv();
+extern void iconvctl(void);
+extern void iconv_open_into(void);
+extern void iconv_open(void);
+extern void iconv_close(void);
+extern void iconv_canonicalize(void);
+extern void iconv(void);
#endif
/*
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/c1fe5b4142716cfc65d52ca521bd7078668bd6f5
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/c1fe5b4142716cfc65d52ca521bd7078668bd6f5
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230802/2ed70309/attachment-0001.html>
More information about the ghc-commits
mailing list