]> granicus.if.org Git - strace/blobdiff - tests/stack-fcall-1.c
Update copyright headers
[strace] / tests / stack-fcall-1.c
index 8716702dfc3ccd02770d396737d9c7b575c7f72c..a344864f381c06a5e9caa091d0c6568be196ba7e 100644 (file)
@@ -1,6 +1,13 @@
-int f2(int i);
+/*
+ * Copyright (c) 2014-2019 The strace developers.
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ */
 
-int f1(int i)
+#include "stack-fcall.h"
+
+int f1(int i, unsigned long f)
 {
-       return f2(i) + i;
+       return f2(i, f ^ (unsigned long) (void *) f1) + i;
 }