summaryrefslogtreecommitdiff
path: root/src/MultiSink.c
AgeCommit message (Collapse)Author
2023-12-07Multisink.c: Clear -Werror=incompatible-pointer-types errorAlan Coopersmith
MultiSink.c: In function ‘SetValues’: MultiSink.c:582:18: error: passing argument 1 of ‘SetTabs’ from incompatible pointer type [-Werror=incompatible-pointer-types] 582 | SetTabs( w, w->text_sink.tab_count, w->text_sink.char_tabs ); | ^ | | | MultiSinkObject {aka struct _MultiSinkRec *} MultiSink.c:99:21: note: expected ‘Widget’ {aka ‘struct _WidgetRec *’} but argument is of type ‘MultiSinkObject’ {aka ‘struct _MultiSinkRec *’} 99 | static void SetTabs(Widget, int, short *); | ^~~~~~ Adopts change originally made to libXaw in XFree86 4 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-05-07Fix spelling/wording issuesAlan Coopersmith
Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-09-04Add conditional include config.h to source files as done in libXawGaetan Nadon
Expections: TexTr.c, sharedlib.c ans generated lex and yacc C code. XawI18n.h needs HAVE_WCTYPE_H and HAVE_WCHAR_H. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-09-01Fix incompatible vfunc pointer warningsYaakov Selkowitz
AsciiSink.c:132:41: warning: initialization from incompatible pointer type AsciiSink.c:135:41: warning: initialization from incompatible pointer type AsciiSink.c:137:41: warning: initialization from incompatible pointer type Vendor.c:199:24: warning: initialization from incompatible pointer type Vendor.c:269:24: warning: initialization from incompatible pointer type Vendor.c:284:24: warning: initialization from incompatible pointer type Viewport.c:143:3: warning: initialization from incompatible pointer type MultiSink.c:160:41: warning: initialization from incompatible pointer type MultiSink.c:162:41: warning: initialization from incompatible pointer type Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Acked-by: Matt Turner <mattst88@gmail.com>
2011-09-01MultiSink: Fix old-style function definitionsYaakov Selkowitz
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Acked-by: Gaetan Nadon <memsize@videotron.ca> Acked-by: Matt Turner <mattst88@gmail.com>
2011-08-26Fix ambiguous 'else' warningsYaakov Selkowitz
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-08-24unifdef -DNeedFunctionPrototypes -DNeedVarargsPrototypesYaakov Selkowitz
This is the first step to removing old-style function definition warnings. Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Acked-by: Gaetan Nadon <memsize@videotron.ca>
2011-08-02Strip trailing whitespace.Matt Turner
Signed-off-by: Matt Turner <mattst88@gmail.com>
2011-08-02Fix implicit function declarations.Matt Turner
Signed-off-by: Matt Turner <mattst88@gmail.com>
2011-08-01Purge CVS tags.Matt Turner
Signed-off-by: Matt Turner <mattst88@gmail.com>
2011-08-01Move sources to src/.Matt Turner
Signed-off-by: Matt Turner <mattst88@gmail.com>