ALT Linux Bugzilla
– Attachment 1648 Details for
Bug 9922
[PATCH] Избыточная зависимоcть на xorg-x11-devel
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Патч для устранения всех предупреждений от компилятора
libdockapp-0.6.1-alt-warnings-fix.patch (text/plain), 1.70 KB, created by
Slava Semushin
on 2006-10-02 15:23:19 MSD
(
hide
)
Description:
Патч для устранения всех предупреждений от компилятора
Filename:
MIME Type:
Creator:
Slava Semushin
Created:
2006-10-02 15:23:19 MSD
Size:
1.70 KB
patch
obsolete
>diff -ru dockapp-0.6.1.orig/src/daargs.c dockapp-0.6.1/src/daargs.c >--- dockapp-0.6.1.orig/src/daargs.c 2005-07-16 18:49:10 +0700 >+++ dockapp-0.6.1/src/daargs.c 2006-10-02 17:42:10 +0700 >@@ -26,6 +26,9 @@ > #include "daargs.h" > #include "dautil.h" > >+#include <string.h> >+#include <strings.h> >+ > #define DEFAULT_OPTION_COUNT 3 > > extern struct DAContext *_daContext; >@@ -38,6 +41,9 @@ > static void _daContextAddOptions(DAProgramOption *options, int count); > static void printHelp(char *description); > >+static int contains(char *needle, char *haystack); >+static int parseOption(DAProgramOption *option, int i, int argc, char** argv); >+static int readIntOption(int index, char **argv); > > /* > * Public functions >@@ -116,7 +122,7 @@ > } > } > >-int >+static int > contains(char *needle, char *haystack) > { > char c, *pos; >@@ -130,7 +136,7 @@ > return (pos != NULL); > } > >-int >+static int > parseOption(DAProgramOption *option, int i, int argc, char** argv) > { > option->used = True; >@@ -169,7 +175,7 @@ > return i; > } > >-int >+static int > readIntOption(int index, char **argv) > { > int integer; >diff -ru dockapp-0.6.1.orig/src/dashaped.c dockapp-0.6.1/src/dashaped.c >--- dockapp-0.6.1.orig/src/dashaped.c 2005-04-28 00:37:57 +0700 >+++ dockapp-0.6.1/src/dashaped.c 2006-10-02 17:34:28 +0700 >@@ -26,6 +26,8 @@ > #include "dockapp.h" > #include "daargs.h" > >+#include <string.h> >+ > /* > * DAShapedPixmap functions > */ >diff -ru dockapp-0.6.1.orig/src/dautil.c dockapp-0.6.1/src/dautil.c >--- dockapp-0.6.1.orig/src/dautil.c 2005-04-21 01:05:04 +0700 >+++ dockapp-0.6.1/src/dautil.c 2006-10-02 17:35:19 +0700 >@@ -24,6 +24,8 @@ > #include "daargs.h" > #include "dautil.h" > >+#include <string.h> >+ > extern struct DAContext *_daContext; > > /*
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 9922
:
1647
| 1648