After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 722595 - [PATCH] Wrong main function declaration and missing includes
[PATCH] Wrong main function declaration and missing includes
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: building
3.11.x
Other FreeBSD
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2014-01-20 10:34 UTC by Ting-Wei Lan
Modified: 2014-02-04 04:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add #include <libintl.h> and correct main function declaration (450 bytes, patch)
2014-01-20 10:34 UTC, Ting-Wei Lan
none Details | Review

Description Ting-Wei Lan 2014-01-20 10:34:05 UTC
Created attachment 266712 [details] [review]
Add #include <libintl.h> and correct main function declaration

The type of the second argument of main function should be char* [], not char*.
This file use functions from gettext, so #include <libintl.h> is needed.