In C, the following two prototypes are not the same:
void func();
void func(void);
Attached patch fixes occurrences of 1st in Elementary.h
thanks,
Mike
>From 5b42c9c1663df5de4ed62466ce77fb4dbed22a60 Mon Sep 17 00:00:00 2001
From: Mike McCormack <[email protected]>
Date: Mon, 17 Jan 2011 16:53:16 +0900
Subject: [PATCH] Don't use empty parameter lists
---
trunk/TMP/st/elementary/src/lib/Elementary.h.in | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/trunk/TMP/st/elementary/src/lib/Elementary.h.in b/trunk/TMP/st/elementary/src/lib/Elementary.h.in
index d84b65e..0e4c558 100644
--- a/trunk/TMP/st/elementary/src/lib/Elementary.h.in
+++ b/trunk/TMP/st/elementary/src/lib/Elementary.h.in
@@ -325,8 +325,8 @@ extern "C" {
EAPI const Eina_List *elm_font_overlay_list_get(void);
EAPI void elm_font_overlay_set(const char *text_class, const char *font, Evas_Font_Size size);
EAPI void elm_font_overlay_unset(const char *text_class);
- EAPI void elm_font_overlay_apply();
- EAPI void elm_font_overlay_all_apply();
+ EAPI void elm_font_overlay_apply(void);
+ EAPI void elm_font_overlay_all_apply(void);
EAPI Elm_Font_Properties *elm_font_properties_get(const char *font) EINA_ARG_NONNULL(1);
EAPI void elm_font_properties_free(Elm_Font_Properties *efp) EINA_ARG_NONNULL(1);
--
1.7.0.4
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel