summaryrefslogtreecommitdiff
path: root/pppd/magic.h
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@ozlabs.org>2020-12-29 16:08:24 +1100
committerPaul Mackerras <paulus@ozlabs.org>2020-12-29 16:08:24 +1100
commit75870d7b55e36af526a0786fff94912989c73fd1 (patch)
tree1de0db83a52899c60f3b7abc0934e377a1667ab7 /pppd/magic.h
parent505ec5cbd15ec23ed84282462ae9e451a1978133 (diff)
downloadppp-75870d7b55e36af526a0786fff94912989c73fd1.tar.gz
Convert to ANSI C
This gets rid of the __P and __V macros that were used so that the code was in theory compilable by a K&R C compiler, and converts the function definitions to ANSI C style. In fact there were already quite a few function definitions in the ANSI C style, so it would not have been compilable by a K&R C compiler in fact. The Solaris and BSD kernel code modules have had __P removed but the function definitions have not been converted. There are some other minor changes here to remove warnings. Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Diffstat (limited to 'pppd/magic.h')
-rw-r--r--pppd/magic.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/pppd/magic.h b/pppd/magic.h
index 9d399e3..d6094db 100644
--- a/pppd/magic.h
+++ b/pppd/magic.h
@@ -38,8 +38,6 @@
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
* AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
* OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
- *
- * $Id: magic.h,v 1.5 2003/06/11 23:56:26 paulus Exp $
*/
void magic_init (void); /* Initialize the magic number generator */