tests: Move to kernel style SPDX license identifiers
[lttng-tools.git] / tests / utils / tap / tap.c
index 5d64d844cbd3975ac7735e0fa75f837cf858ade1..9c967f82d4e29b5b3a0aa8b7a4570131ddebd838 100644 (file)
@@ -1,7 +1,9 @@
 /*-
- * Copyright (c) 2004 Nik Clayton
+ * Copyright (C) 2004 Nik Clayton
  * All rights reserved.
  *
+ * SPDX-License-Identifier: BSD-2-Clause
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
@@ -24,7 +26,6 @@
  * SUCH DAMAGE.
  */
 
-#define _GNU_SOURCE
 #include <ctype.h>
 #include <stdarg.h>
 #include <stdio.h>
@@ -296,7 +297,7 @@ int
 skip(unsigned int n, char *fmt, ...)
 {
        va_list ap;
-       char *skip_msg;
+       char *skip_msg = NULL;
 
        LOCK;
 
This page took 0.02329 seconds and 4 git commands to generate.