wmframepic: Add includes and declarations to avoid implicit declarations.

This commit is contained in:
Doug Torrance 2017-08-20 10:36:30 -04:00 committed by Carlos R. Mafra
parent 04bddc625f
commit c93e4e8bd9

View file

@ -1,11 +1,14 @@
#ifndef DRAW_TEXT_H_ #ifndef DRAW_TEXT_H_
#define DRAW_TEXT_H_ #define DRAW_TEXT_H_
#include <ctype.h>
#include <X11/Xlib.h> #include <X11/Xlib.h>
#include <X11/xpm.h>
#include <string.h> #include <string.h>
#include "font.xpm" #include "font.xpm"
#include "display_text.xpm" #include "display_text.xpm"
void draw_text(char *text, int dx, int dy, Bool digit);
void restore_background(void); void restore_background(void);
void flush_background(void); void flush_background(void);
void init_variables(Display *g_display, GC g_gc, Window g_icon_window, int offset_w, int offset_h, Pixmap **background); void init_variables(Display *g_display, GC g_gc, Window g_icon_window, int offset_w, int offset_h, Pixmap **background);