Skip to content

Commit

Permalink
Merge pull request #16 from drusk/fix_stdio_compiler_warning
Browse files Browse the repository at this point in the history
Include stdio.h to remove compiler warning
  • Loading branch information
rrusk committed Oct 16, 2015
2 parents 22f55ba + f1c2d0f commit 8d0b8fa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/XMotif/XmDrawdbl.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
*/

#include <Xm/DrawingA.h>
#include <stdio.h>
#include <stdlib.h>
#include "pigdefs.h"

Expand Down
4 changes: 3 additions & 1 deletion src/XMotif/XmMain.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
!***********************************************************************
*/

#include <stdio.h>

#include "XmMain.h"
#include "pigdefs.h"

Expand Down Expand Up @@ -693,7 +695,7 @@ void fileok_cb (Widget widget, XtPointer client_data, XtPointer call_data)

if (!*filename) {
/* nothing typed? */
puts ("No file selected.");
printf("No file selected.");

XtFree (filename);

Expand Down

0 comments on commit 8d0b8fa

Please sign in to comment.