]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(wrapf): Declare with format attribute.
authorJim Meyering <jim@meyering.net>
Thu, 10 Apr 2003 21:41:03 +0000 (21:41 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 10 Apr 2003 21:41:03 +0000 (21:41 +0000)
src/stty.c

index 3ec6d33273f9ac37217e4a803dc5c5788715a111..fd0addf005ed02fae03cdb907c8b16d8906ffc37 100644 (file)
@@ -1,5 +1,5 @@
 /* stty -- change and print terminal line settings
-   Copyright (C) 1990-2002 Free Software Foundation, Inc.
+   Copyright (C) 1990-2003 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -450,6 +450,9 @@ static struct option longopts[] =
 /* The name this program was run with. */
 char *program_name;
 
+static void wrapf (const char *message, ...)
+     __attribute__ ((__format__ (__printf__, 1, 2)));
+
 /* Print format string MESSAGE and optional args.
    Wrap to next line first if it won't fit.
    Print a space first unless MESSAGE will start a new line. */