Fix struct timespec normalization (as used in many other places).
[platform/upstream/glibc.git] / rt / tst-mqueue6.c
index f4fdb02..8d84c19 100644 (file)
@@ -14,9 +14,8 @@
    Lesser General Public License for more details.
 
    You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, write to the Free
-   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-   02111-1307 USA.  */
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
 
 #include <errno.h>
 #include <fcntl.h>
@@ -37,8 +36,8 @@
 #if _POSIX_THREADS
 # include <pthread.h>
 
-#define mqsend(q) (mqsend) (q, __LINE__)
-static inline int
+# define mqsend(q) (mqsend) (q, __LINE__)
+static int
 (mqsend) (mqd_t q, int line)
 {
   char c;
@@ -50,8 +49,8 @@ static inline int
   return 0;
 }
 
-#define mqrecv(q) (mqrecv) (q, __LINE__)
-static inline int
+# define mqrecv(q) (mqrecv) (q, __LINE__)
+static int
 (mqrecv) (mqd_t q, int line)
 {
   char c;
@@ -104,7 +103,7 @@ fct (union sigval s)
   fct_err |= mqsend (q);
 }
 
-#define TEST_FUNCTION do_test ()
+# define TEST_FUNCTION do_test ()
 static int
 do_test (void)
 {