cleanup: explicitly mark unused parameters (-Wunused-parameter)
[lttng-ust.git] / doc / examples / gen-tp / sample.c
index 729258c2c7874289aac188aac4104c996259af27..e56c332e79dfd55dc2c194e3d8c9dd7cd527658d 100644 (file)
@@ -1,20 +1,14 @@
 /*
- * Copyright (C) 2011-2012  Matthew Khouzam <matthew.khouzam@ericsson.com>
- * Copyright (C) 2012  Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+ * SPDX-License-Identifier: MIT
  *
- * THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
- * OR IMPLIED.  ANY USE IS AT YOUR OWN RISK.
- *
- * Permission is hereby granted to use or copy this program for any
- * purpose,  provided the above notices are retained on all copies.
- * Permission to modify the code and to distribute modified code is
- * granted, provided the above notices are retained, and a notice that
- * the code was modified is included with the above copyright notice.
+ * Copyright (C) 2011-2012 Matthew Khouzam <matthew.khouzam@ericsson.com>
+ * Copyright (C) 2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
  */
+
 #include <unistd.h>
 
 #include "sample_tracepoint.h"
-int main(int argc, char **argv)
+int main(void)
 {
        int i = 0;
 
This page took 0.035928 seconds and 4 git commands to generate.