define it in s1.c as a global variable, i.e. in the very beginning before any functions.
in s2.c, define "extern int xxx", then you can modify it in s2.c
clinux(C/Linux)
(#289369@0) Last Updated: 2001-12-7 This post has been archived. It cannot be replied.