identity.h 518 B

12345678910111213141516171819202122
  1. /*
  2. * GTools C compiler
  3. * =================
  4. * source file :
  5. * (on-calc) volatilizing a value
  6. *
  7. * Copyright 2001-2004 Paul Froissart.
  8. * Credits to Christoph van Wuellen and Matthew Brandt.
  9. * All commercial rights reserved.
  10. *
  11. * This compiler may be redistributed as long there is no
  12. * commercial interest. The compiler must not be redistributed
  13. * without its full sources. This notice must stay intact.
  14. */
  15. #ifndef __IDENTITY
  16. #define __IDENTITY
  17. void *identity(void *x) {
  18. return x;
  19. }
  20. #endif
  21. // vim:ts=4:sw=4