summaryrefslogtreecommitdiff
path: root/editres.c
diff options
context:
space:
mode:
Diffstat (limited to 'editres.c')
-rw-r--r--editres.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/editres.c b/editres.c
index d8d436f..71e1765 100644
--- a/editres.c
+++ b/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);