Changeset ac9f808 in rtems


Ignore:
Timestamp:
Sep 25, 2018, 1:19:08 PM (15 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
b980f363
Parents:
0614743
git-author:
Sebastian Huber <sebastian.huber@…> (09/25/18 13:19:08)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/01/18 10:28:10)
Message:

pppd: Remove unused get_pty() function

Update #3526.

Location:
cpukit/pppd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/pppd/pppd.h

    r0614743 rac9f808  
    366366void sys_close(void);   /* Clean up in a child before execing */
    367367int  ppp_available(void);       /* Test whether ppp kernel support exists */
    368 int  get_pty(int *, int *, char *, int);        /* Get pty master/slave */
    369368int  open_ppp_loopback(void); /* Open loopback for demand-dialling */
    370369int  establish_ppp(int);        /* Turn serial port into a ppp interface */
  • cpukit/pppd/sys-rtems.c

    r0614743 rac9f808  
    442442
    443443    ioctl(fd, (on? TIOCMBIS: TIOCMBIC), &modembits);
    444 }
    445 
    446 /*
    447  * get_pty - get a pty master/slave pair and chown the slave side
    448  * to the uid given.  Assumes slave_name points to >= 12 bytes of space.
    449  */
    450 int
    451 get_pty(
    452     int *master_fdp,
    453     int *slave_fdp,
    454     char *slave_name,
    455     int uid)
    456 {
    457     return 1;
    458444}
    459445
Note: See TracChangeset for help on using the changeset viewer.