]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
[terminal] fix header prototype
authorRay Strode <rstrode@redhat.com>
Wed, 5 Aug 2009 22:22:23 +0000 (18:22 -0400)
committerRay Strode <rstrode@redhat.com>
Wed, 5 Aug 2009 22:22:23 +0000 (18:22 -0400)
argument list was () instead of (void).  This fixes
a compiler warning.

src/libply/ply-terminal.h

index 6d70002480e4aadc2d30c75ab8d12dbea799bf29..df5af542b7fa7bc9c05b016da9d86e68ebfc5a7e 100644 (file)
@@ -29,7 +29,7 @@
 typedef struct _ply_terminal ply_terminal_t;
 
 #ifndef PLY_HIDE_FUNCTION_DECLARATIONS
-ply_terminal_t *ply_terminal_new ();
+ply_terminal_t *ply_terminal_new (void);
 void ply_terminal_free (ply_terminal_t *terminal);
 bool ply_terminal_create_device (ply_terminal_t *terminal);
 bool ply_terminal_has_device (ply_terminal_t *terminal);