diff options
author | Xin LI <delphij@FreeBSD.org> | 2017-04-25 03:42:16 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2017-04-25 03:42:16 +0000 |
commit | 9c83c2751d26fe2e059d6956f0398b56ed919a6a (patch) | |
tree | b75ed451f9f8336fb4958dbae186b6bd98aa65c0 /scrsize.c | |
parent | 1cabeb1f0c93e44ebc8a1d3a78100a962ac3f047 (diff) |
Diffstat (limited to 'scrsize.c')
-rw-r--r-- | scrsize.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/scrsize.c b/scrsize.c index c08d666704b58..c928ebae8f475 100644 --- a/scrsize.c +++ b/scrsize.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 1984-2015 Mark Nudelman + * Copyright (C) 1984-2016 Mark Nudelman * * You may distribute under the terms of either the GNU General Public * License or the Less License, as specified in the README file. @@ -45,7 +45,11 @@ #include <stdlib.h> #include <stdio.h> -static int get_winsize(Display *dpy, Window window, int *p_width, int *p_height) +static int get_winsize(dpy, window, p_width, p_height) + Display *dpy; + Window window; + int *p_width; + int *p_height; { XWindowAttributes win_attributes; XSizeHints hints; @@ -75,7 +79,9 @@ static int get_winsize(Display *dpy, Window window, int *p_width, int *p_height) return 0; } -int main(int argc, char *argv[]) +int main(argc, argv) + int argc; + char *argv[]; { char *cp; Display *dpy; |