should i18n.h include misc.h if internal ?

2009-11-23 Thread Carles Pina i Estany
Hello, Imagine that I'm going to gettexttize commands/true.c . I need to add #include , but this include defines: # define _(str) grub_gettext(str) so I need #include Any problem with this patch: === modified file 'include/grub/i18n.h' --- include/grub/i18n.h 2009-11-23 20:34:42 + +++ i

Re: should i18n.h include misc.h if internal ?

2009-11-24 Thread Robert Millan
On Mon, Nov 23, 2009 at 11:50:20PM +, Carles Pina i Estany wrote: > > Other option would be to move these: > > const char *EXPORT_FUNC(grub_gettext_dummy) (const char *s); > extern const char *(*EXPORT_VAR(grub_gettext)) (const char *s); > > > from misc.h to i18n.h (internal). Yes,