summaryrefslogtreecommitdiff
path: root/app/editres/editres.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2010-05-31 19:33:39 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2010-05-31 19:33:39 +0000
commit11a72e7025b15c51f0c4e4e6fc8497bbdba6c809 (patch)
tree4034324fe1da8b609dee01584f699b639403410f /app/editres/editres.c
parentc0e82871055c7b7964d36b0b5b7a742766eac4f3 (diff)
Update to editres 1.0.4
Diffstat (limited to 'app/editres/editres.c')
-rw-r--r--app/editres/editres.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/app/editres/editres.c b/app/editres/editres.c
index d8d436fc7..71e1765dc 100644
--- a/app/editres/editres.c
+++ b/app/editres/editres.c
@@ -65,7 +65,7 @@ AppResources global_resources;
static void Syntax ( XtAppContext app_con, char *call );
-String fallback_resources[] = {
+static String fallback_resources[] = {
NULL,
};
@@ -87,9 +87,7 @@ static XtResource editres_resources[] = {
Atom wm_delete_window;
int
-main(argc, argv)
-int argc;
-char **argv;
+main(int argc, char **argv)
{
XtAppContext app_con;
@@ -140,9 +138,7 @@ char **argv;
*/
static void
-Syntax(app_con, call)
-XtAppContext app_con;
-char *call;
+Syntax(XtAppContext app_con, char *call)
{
XtDestroyApplicationContext(app_con);
fprintf(stderr, "Usage: %s\n", call);